[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] check-dst-dir fails but not implicit regression
From: |
Peter Schuller |
Subject: |
[rdiff-backup-users] check-dst-dir fails but not implicit regression |
Date: |
Sun, 14 Jan 2007 23:16:21 +0100 |
User-agent: |
KMail/1.9.4 |
When doing --check-destination-dir on a backup it fails with the stracktrace
below.
The file it fails on is drwx--S--- in its original location, drwx------ in the
backup.
However, running a new backup with this backup directory as a target DOES NOT
fail; the automatic regression performed prior to taking the backup completes
successfully.
Here's the stacktrace (filename censured):
Traceback (most recent call last):
File "/usr/pkg/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/Main.py", line 285,
in Main
take_action(rps)
File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/Main.py", line 257,
in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/Main.py", line 869,
in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/regress.py", line
70, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/rorpiter.py", line
281, in __call__
if self.finish_branches(index) is None:
File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/rorpiter.py", line
233, in finish_branches
to_be_finished.end_process()
File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/regress.py", line
282, in end_process
rpath.copy_attribs(rf.metadata_rorp, rf.mirror_rp)
File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 162,
in copy_attribs
rpout.chmod(rpin.getperms())
File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 759,
in chmod
self.conn.os.chmod(self.path, permissions & Globals.permission_mask)
OSError: [Errno 1] Operation not permitted: 'path/to/filename'
--
/ Peter Schuller, InfiDyne Technologies HB
PGP userID: 0xE9758B7D or 'Peter Schuller <address@hidden>'
Key retrieval: Send an E-Mail to address@hidden
E-Mail: address@hidden Web: http://www.scode.org
- [rdiff-backup-users] check-dst-dir fails but not implicit regression,
Peter Schuller <=