Package: rdiff-backup
Version: 1.1.5-4
Severity: normal
The following error occurred during today's rdiff-backup (running with euid
localbackup, command was rdiff-backup [EMAIL PROTECTED]::/cygdrive/.
/var/local/backups/ls2buero/.) from a Cygwin box (source) to a Debian box
(destination).
<snip>
Exception '[Errno 13] Permission denied:
'/var/local/backups/ls2buero/c/WINNT/$hf_mig$/KB915865/update'' raised of class
'exceptions.OSError':
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 295, in
error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 315, in
Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 271, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 334, in
Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 51, in
Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 231, in
patch_and_increment
cls.CCPP.close()
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 475, in
close
dir_rp.chmod(perms)
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 826, in
chmod
self.conn.os.chmod(self.path, permissions & Globals.permission_mask)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 295, in
error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 315, in
Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 271, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 334, in
Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 51, in
Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 231, in
patch_and_increment
cls.CCPP.close()
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 475, in
close
dir_rp.chmod(perms)
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 826, in
chmod
self.conn.os.chmod(self.path, permissions & Globals.permission_mask)
OSError: [Errno 13] Permission denied:
'/var/local/backups/ls2buero/c/WINNT/$hf_mig$/KB915865/update'
Fatal Error: Lost connection to the remote system
</snip>
Indeed, the directory /var/local/backups/ls2buero/c/WINNT/$hf_mig$/ has the
pathological permissions
d--------- 88 localbackup localbackup
It was created during yesterday's backup, mirroring the permissions of the
source directory on the Cygwin box. Today, rdiff-backup crashed with the above
error message when transgressing said directory on the destination box.
I would have expected rdiff-backup to do one of the following things:
1. Refuse to backup the unreadable directory in the first place writing an
error message to the log.
2. Backup the unreadable directory and then use chmod on the backup target to
check for changes/store increments during subsequent backups.
Judging from the error message it seems that rdiff-backup was actually trying
to do 2. (calling chmod) but made a mistake somehow.
- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-rc5-mm1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages rdiff-backup depends on:
ii libc6 2.3.6.ds1-12 GNU C Library: Shared libraries
ii librsync1 0.9.7-1 Library which implements the rsync
ii python 2.4.4-2 An interactive high-level object-o
ii python-support 0.5.6 automated rebuilding support for p
Versions of packages rdiff-backup recommends:
ii python-pylibacl 0.2.2-1 module for manipulating POSIX.1e A
ii python-pyxattr 0.2.1-1.1 module for manipulating filesystem
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]