|
From: | D. Kriesel |
Subject: | AW: [rdiff-backup-users] Rdiff backup still chokes if read-only files are found at target |
Date: | Mon, 29 Nov 2010 11:04:46 +0100 |
Anybody here? ;-) The list seems to be a bit quiet. If this is the wrong place for this report, someone please tell me the correct one :-) I feel I did not provide enough information to get rid of the below bug. So, here you go: 1. I am using rdiff 1.3.3 for a local backup on a windows server 2003 32bit machine. 2. I am using the windows release that can be downloaded on rdiff-backup.nongnu.org as rdiff-backup-1.3.3-win32.zip. 3. My rdiff call is: rdiff-backup --force --no-acls --no-hard-links --print-statistics --include "D:\\/home" --include "D:\\/profile" --exclude "D:\\/share/ElRv-Daten" --include "D:\\/share" --exclude "D:\\/**" D:\/ D:\/rd/data 4. "Zugriff verweigert" in the below message is german for "permission denied". When checking the folders, I found that the ACL entries are okay, but the read-only flag on the "Eigene Bilder" folder was set. So all in all, it seems to me that rdiff cannot remove this flag from folders. Below linked you find a similar problem with files. Next, windows prevents rdiff from deleting a folder that is still marked "read-only". Consecuently, Rdiff crashes. To support my concern, I can tell you that you find quite a number of „read only folders“ on windows systems, because that windows itself uses the read only flag on folders differently than on files: see http://support.microsoft.com/kb/256614 . Additionally, the attribute setting for folders may be handled different (for example, you can’t remove read only attribute on folders just using the explorer). Any help is appreciated, really... I like rdiff and don’t want to chance the backup system (again)... Cheers, David > -----Ursprüngliche Nachricht----- > Von: address@hidden > [mailto:address@hidden Im > Auftrag von D. Kriesel > Gesendet: Sonntag, 28. November 2010 01:52 > An: Lista rdiff-backup > Betreff: [rdiff-backup-users] Rdiff backup still chokes if read-only files are > found at target > > Hi guys, > > I have rdiff crashing when read-only files are in the rdiff repository. It > gives the following Exceptions: > > Exception '[Error 5] Zugriff verweigert: 'D:\\/rd/data/home/kwasny/Eigene > Dateie > n/Eigene Bilder'' raised of class '<type 'exceptions.WindowsError'>': > File "rdiff_backup\Main.pyc", line 306, in error_check_Main > File "rdiff_backup\Main.pyc", line 326, in Main > File "rdiff_backup\Main.pyc", line 282, in take_action > File "rdiff_backup\Main.pyc", line 345, in Backup > File "rdiff_backup\backup.pyc", line 51, in Mirror_and_increment > File "rdiff_backup\backup.pyc", line 251, in patch_and_increment > File "rdiff_backup\rorpiter.pyc", line 277, in __call__ > File "rdiff_backup\rorpiter.pyc", line 229, in finish_branches > File "rdiff_backup\backup.pyc", line 676, in end_process > File "rdiff_backup\rpath.pyc", line 993, in rmdir > > Traceback (most recent call last): > File "rdiff-backup", line 30, in <module> > File "rdiff_backup\Main.pyc", line 306, in error_check_Main > File "rdiff_backup\Main.pyc", line 326, in Main > File "rdiff_backup\Main.pyc", line 282, in take_action > File "rdiff_backup\Main.pyc", line 345, in Backup > File "rdiff_backup\backup.pyc", line 51, in Mirror_and_increment > File "rdiff_backup\backup.pyc", line 251, in patch_and_increment > File "rdiff_backup\rorpiter.pyc", line 277, in __call__ > File "rdiff_backup\rorpiter.pyc", line 229, in finish_branches > File "rdiff_backup\backup.pyc", line 676, in end_process > File "rdiff_backup\rpath.pyc", line 993, in rmdir > WindowsError: [Error 5] Zugriff verweigert: > 'D:\\/rd/data/home/kwasny/Eigene > Dat > eien/Eigene Bilder' > > > Sounds similar to me like the old read-only file issue. > http://www.mail-archive.com/rdiff-backup- > address@hidden/msg03549.html > > Any advice? > > Cheers, > David > |
[Prev in Thread] | Current Thread | [Next in Thread] |