[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Weird to analyze rdiff-backup problem.
From: |
Steve Clement |
Subject: |
Re: [rdiff-backup-users] Weird to analyze rdiff-backup problem. |
Date: |
Wed, 20 Apr 2005 13:19:10 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050405) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steve Clement wrote:
>
>
> beekini BOOKS # pwd /usr/home/share/BOOKS/BOOKS beekini BOOKS # ls
> -lahR AVIS/ total 6 drwxrwsr-x 3 lucky public 512B Apr 15 17:14
> . drwxrwsr-x 16 lucky public 512B Apr 15 16:14 .. drwxrwxr-x 2
> lucky public 512B Oct 14 2004 IMAGES
>
> AVIS/IMAGES: total 86 drwxrwxr-x 2 lucky public 512B Oct 14
> 2004 . drwxrwsr-x 3 lucky public 512B Apr 15 17:14 ..
> -rwxrw-r-- 1 lucky public 12K May 9 2004 AVIS OPEN 1.jpg
> -rwxrw-r-- 1 lucky public 14K May 9 2004 AVIS OPEN 2.jpg
> -rwxrw-r-- 1 lucky public 12K May 9 2004 AVIS OPEN 3.jpg
> -rwxrw-r-- 1 lucky public 12K May 9 2004 AVIS OPEN 4.jpg
> -rwxrw-r-- 1 lucky public 12K May 9 2004 AVIS OPEN 5.jpg
> -rwxrw-r-- 1 lucky public 8K May 9 2004 aviscover.jpg
> beekini BOOKS #
>
>
Replying to my own post...
it is because of the sticky-bit, something isn't right there.
I will fiddle with the switches to get it solved, it should work
though cause I am copying FreeBSD to FreeBSD
chmod g-ws DIRECTORY solves the problem
weird that it works in seprate runs, maybe the permissions are not
preserved?
here is the -v9 output of the last few lines:
Wed Apr 20 12:19:19 2005 Copying attributes from ('BOOKS', 'AVIS') to
/home/bup/disk1/dakini/home-share-books-rdifftes9/BOOKS/AVIS
Wed Apr 20 12:19:19 2005 Sending back exception [Errno 1] Operation
not permitted:
'/home/bup/disk1/dakini/home-share-books-rdifftes9/BOOKS/AVIS' of type
exceptions.OSError:
File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 329, in answer_request
result = apply(eval(request.function_string), argument_list)
File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py", line
212, in patch
ITR(diff.index, diff)
File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/rorpiter.py",
line 275, in __call__
if self.finish_branches(index) is None:
File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/rorpiter.py",
line 227, in finish_branches
to_be_finished.end_process()
File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py", line
551, in end_process
rpath.copy_attribs(self.dir_update, self.base_rp)
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 157, in copy_attribs
rpout.chmod(rpin.getperms())
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 629, in chmod
self.conn.os.chmod(self.path, permissions)
Wed Apr 20 12:19:19 2005 Server sending (0): [Errno 1] Operation not
permitted: '/home/bup/disk1/dakini/home-share-books-rdifftes9/BOOKS/AVIS'
Traceback (most recent call last):
File "/usr/local/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 254, in Main
take_action(rps)
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 224, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 347, in Server
self.get_response(-1)
File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 309, in get_response
try: req_num, object = self._get()
File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 225, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/bup/disk1/dakini/home-share-books-rdifftes9/rdiff-backup-data/file_statistics.2005-04-20T12:19:15+02:00.data.gz',
mode 'wb' at 0x825c020 0x8311c8c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/bup/disk1/dakini/home-share-books-rdifftes9/rdiff-backup-data/error_log.2005-04-20T11:19:15+01:00.data.gz',
mode 'wb' at 0x81f5ec0 0x82eefac>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/bup/disk1/dakini/home-share-books-rdifftes9/rdiff-backup-data/mirror_metadata.2005-04-20T12:19:15+02:00.snapshot.gz',
mode 'wb' at 0x825c068 0x8311ccc>> ignored
Steve C
- --
ION Network Solutions
Steve Clement
Unix System Administrator
209, rue des Romains
L-8041 Bertrange
Tel: +352 261 276-2
Fax: +352 261 276-9
mailto:address@hidden
http://www.ion.lu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFCZjqtMH8DIBsiCrgRAu7mAJoCst6L4+odvmI+2/UxmTwZYHgeHwCeJQyL
1QnNx58afbmI5r6d6sSUwqs=
=N36F
-----END PGP SIGNATURE-----