summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/increment.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-07-18 05:11:45 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-07-18 05:11:45 +0000
commit176901bf5e22ad81e6dc0db4c0baa6bdf0a8bf5e (patch)
tree672c171d1fe6d18fd4228b027ae93acc73f8ef7c /rdiff-backup/rdiff_backup/increment.py
parentb754844210c2fade905781d940c9c53aca336901 (diff)
downloadrdiff-backup-176901bf5e22ad81e6dc0db4c0baa6bdf0a8bf5e.tar.gz
Added ACL support, may have corrected a few EA bugs
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@341 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/increment.py')
-rw-r--r--rdiff-backup/rdiff_backup/increment.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/increment.py b/rdiff-backup/rdiff_backup/increment.py
index 100ee36..f7fe5e7 100644
--- a/rdiff-backup/rdiff_backup/increment.py
+++ b/rdiff-backup/rdiff_backup/increment.py
@@ -87,7 +87,9 @@ def makedir(mirrordir, incpref):
"""Make file indicating directory mirrordir has changed"""
dirsign = get_inc(incpref, "dir")
dirsign.touch()
- rpath.copy_attribs(mirrordir, dirsign)
+ # 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):