diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-07-18 08:55:33 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-07-18 08:55:33 +0000 |
commit | 7d75e73ffa5310b7ed74b81807ca32c652f0b866 (patch) | |
tree | ee21891008bb1b6bb66616dc06c9f3a67e81ce1d /rdiff-backup/rdiff_backup/increment.py | |
parent | 176901bf5e22ad81e6dc0db4c0baa6bdf0a8bf5e (diff) | |
download | rdiff-backup-7d75e73ffa5310b7ed74b81807ca32c652f0b866.tar.gz |
Added --no-change-dir-inc-perms switch, and fix for windows mode CheckDest
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@342 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/increment.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/increment.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rdiff-backup/rdiff_backup/increment.py b/rdiff-backup/rdiff_backup/increment.py index f7fe5e7..8d829e2 100644 --- a/rdiff-backup/rdiff_backup/increment.py +++ b/rdiff-backup/rdiff_backup/increment.py @@ -87,9 +87,10 @@ def makedir(mirrordir, incpref): """Make file indicating directory mirrordir has changed""" dirsign = get_inc(incpref, "dir") dirsign.touch() - # Below, don't copy acls because directories can have more of them - # than ordinary files (they have default acls also). - rpath.copy_attribs(mirrordir, dirsign, acls = 0) + if Globals.change_dir_inc_perms: + # Below, don't copy acls because directories can have more of + # them than ordinary files (they have default acls also). + rpath.copy_attribs(mirrordir, dirsign, acls = 0) return dirsign def get_inc(rp, typestr, time = None): |