SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
AW: Rdiff backup still chokes if read-only files are found
Author Message
Post AW: Rdiff backup still chokes if read-only files are found 
Anybody here? Wink The list seems to be a bit quiet. If this is the wrong place for this report, someone please tell me the correct one Smile

I feel I did not provide enough information to get rid of the below bug. So, here you go:
<![if !supportLists]>1. <![endif]>I am using rdiff 1.3.3 for a local backup on a windows server 2003 32bit machine.
<![if !supportLists]>2. <![endif]>I am using the windows release that can be downloaded on rdiff-backup.nongnu.org as rdiff-backup-1.3.3-win32.zip.
<![if !supportLists]>3. <![endif]>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
<![if !supportLists]>4. <![endif]>"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: rdiff-backup-users-bounces+mail=dkriesel.com < at > nongnu.org
[mailto:rdiff-backup-users-bounces+mail=dkriesel.com < at > nongnu.org] 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_backupMain.pyc", line 306, in error_check_Main
  File "rdiff_backupMain.pyc", line 326, in Main
  File "rdiff_backupMain.pyc", line 282, in take_action
  File "rdiff_backupMain.pyc", line 345, in Backup
  File "rdiff_backupbackup.pyc", line 51, in Mirror_and_increment
  File "rdiff_backupbackup.pyc", line 251, in patch_and_increment
  File "rdiff_backuprorpiter.pyc", line 277, in __call__
  File "rdiff_backuprorpiter.pyc", line 229, in finish_branches
  File "rdiff_backupbackup.pyc", line 676, in end_process
  File "rdiff_backuprpath.pyc", line 993, in rmdir

Traceback (most recent call last):
  File "rdiff-backup", line 30, in <module>
  File "rdiff_backupMain.pyc", line 306, in error_check_Main
  File "rdiff_backupMain.pyc", line 326, in Main
  File "rdiff_backupMain.pyc", line 282, in take_action
  File "rdiff_backupMain.pyc", line 345, in Backup
  File "rdiff_backupbackup.pyc", line 51, in Mirror_and_increment
  File "rdiff_backupbackup.pyc", line 251, in patch_and_increment
  File "rdiff_backuprorpiter.pyc", line 277, in __call__
  File "rdiff_backuprorpiter.pyc", line 229, in finish_branches
  File "rdiff_backupbackup.pyc", line 676, in end_process
  File "rdiff_backuprpath.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.
[url=http://www.mail-archive.com/rdiff-backup-users < at > nongnu.org/msg03549.html]http://www.mail-archive.com/rdiff-backup-[/url]
[url=http://www.mail-archive.com/rdiff-backup-users < at > nongnu.org/msg03549.html]> users < at > nongnu.org/msg03549.html[/url]

Any advice?

Cheers,
David



Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB