|
From: | Bilbo Baggins |
Subject: | [rdiff-backup-users] Read-only files mess up Windows rdiff-backup |
Date: | Fri, 28 Nov 2008 07:57:58 -0800 (PST) |
I followed this thread, and the posted patch helped, but not completely: http://lists.gnu.org/archive/html/rdiff-backup-users/2008-11/msg00072.html There is still a problem with the rmdir() function. If there is a read-only file in a subdirectory, and that whole directory is deleted, rdiff-backup fails. To recreate the bug: mkdir data echo dummy > data\dummy.txt mkdir data\subdir echo test > data\subdir\test.txt attrib +r data\subdir\test.txt mkdir backup rdiff-backup data backup attrib -r data\subdir\test.txt del data\subdir\test.txt rmdir data\subdir rdiff-backup data backup Error: File "rdiff_backup\rpath.pyc", line 981, in rmdir WindowsError: [Error 145] The directory is not empty: 'backup/subdir' |
[Prev in Thread] | Current Thread | [Next in Thread] |