summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-13 23:33:01 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-13 23:33:01 +0000
commit5137df996ccc2faf82a473b16e45d4a371a183f9 (patch)
tree9e0c0c53412777b9c0cc46f0d1fd2aa36128af4e
parent52950040bde00e779c1be65f759f646c9bf7e91b (diff)
downloadrdiff-backup-5137df996ccc2faf82a473b16e45d4a371a183f9.tar.gz
Clear self.dir_perms_list (final (?) unreadable dir change)
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@432 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/rdiff_backup/backup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/backup.py b/rdiff-backup/rdiff_backup/backup.py
index 40194cd..a89f21e 100644
--- a/rdiff-backup/rdiff_backup/backup.py
+++ b/rdiff-backup/rdiff_backup/backup.py
@@ -420,6 +420,9 @@ class CacheCollatedPostProcess:
def close(self):
"""Process the remaining elements in the cache"""
while self.cache_indicies: self.shorten_cache()
+ while self.dir_perms_list:
+ dir_rp, perms = self.dir_perms_list.pop()
+ dir_rp.chmod(perms)
metadata.MetadataFile.close_file()
if Globals.read_eas: eas_acls.ExtendedAttributesFile.close_file()
if Globals.read_acls: eas_acls.AccessControlListFile.close_file()