summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/increment.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-15 03:00:11 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-15 03:00:11 +0000
commitad458a91dc96e7ba50bff6a45205db69b6befa41 (patch)
tree7cb15a9aeff8a5a5558d40596902ef003ceb5ba4 /rdiff-backup/rdiff_backup/increment.py
parent5137df996ccc2faf82a473b16e45d4a371a183f9 (diff)
downloadrdiff-backup-ad458a91dc96e7ba50bff6a45205db69b6befa41.tar.gz
Changed handling of ownership, added --user/group-mapping-file options
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@436 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/increment.py')
-rw-r--r--rdiff-backup/rdiff_backup/increment.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/rdiff-backup/rdiff_backup/increment.py b/rdiff-backup/rdiff_backup/increment.py
index ea7a81d..cf580a0 100644
--- a/rdiff-backup/rdiff_backup/increment.py
+++ b/rdiff-backup/rdiff_backup/increment.py
@@ -86,17 +86,14 @@ def makediff(new, mirror, incpref):
Rdiff.write_delta(new, mirror, diff, compress)
new.chmod(old_new_perms)
else: Rdiff.write_delta(new, mirror, diff, compress)
- rpath.copy_attribs(mirror, diff)
+ rpath.copy_attribs_inc(mirror, diff)
return diff
def makedir(mirrordir, incpref):
"""Make file indicating directory mirrordir has changed"""
dirsign = get_inc(incpref, "dir")
dirsign.touch()
- 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)
+ rpath.copy_attribs_inc(mirrordir, dirsign)
return dirsign
def get_inc(rp, typestr, time = None):