diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-09-13 22:26:09 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-09-13 22:26:09 +0000 |
commit | 52950040bde00e779c1be65f759f646c9bf7e91b (patch) | |
tree | fec6c7b4f09fc640d8b8b45201bb0b9c72bd9e38 /rdiff-backup/rdiff_backup/rpath.py | |
parent | 9d2c911ef7763ac7f2123878c002a059f2826708 (diff) | |
download | rdiff-backup-52950040bde00e779c1be65f759f646c9bf7e91b.tar.gz |
Yet another change dealing with unreadable directories
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@431 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/rpath.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/rpath.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py index a273f39..6c84df9 100644 --- a/rdiff-backup/rdiff_backup/rpath.py +++ b/rdiff-backup/rdiff_backup/rpath.py @@ -157,7 +157,7 @@ def copy_attribs(rpin, rpout, acls = 1): rpout.write_resource_fork(rpin.get_resource_fork()) if Globals.write_eas: rpout.write_ea(rpin.get_ea()) if Globals.change_ownership: apply(rpout.chown, rpin.getuidgid()) - if Globals.change_permissions: rpout.chmod(rpin.getperms()) + rpout.chmod(rpin.getperms()) if Globals.write_acls and acls: rpout.write_acl(rpin.get_acl()) if not rpin.isdev(): rpout.setmtime(rpin.getmtime()) @@ -267,7 +267,6 @@ class RORPath: for key in self.data.keys(): # compare dicts key by key if (key == 'uid' or key == 'gid') and self.issym(): pass # Don't compare gid/uid for symlinks - elif key == 'perms' and not Globals.change_permissions: pass elif key == 'atime' and not Globals.preserve_atime: pass elif key == 'ctime': pass elif key == 'devloc' or key == 'nlink': pass @@ -306,7 +305,6 @@ class RORPath: elif key == 'ctime': pass elif key == 'devloc' or key == 'nlink': pass elif key == 'size' and not self.isreg(): pass - elif key == 'perms' and not Globals.change_permissions: pass elif key == 'inode': pass elif key == 'ea' and not Globals.write_eas: pass elif key == 'acl' and not Globals.write_acls: pass @@ -329,7 +327,6 @@ class RORPath: (self.issym() or not compare_ownership)): # Don't compare gid/uid for symlinks, or if told not to pass - elif key == 'perms' and not Globals.change_permissions: pass elif key == 'atime' and not Globals.preserve_atime: pass elif key == 'ctime': pass elif key == 'devloc' or key == 'nlink': pass |