From ad458a91dc96e7ba50bff6a45205db69b6befa41 Mon Sep 17 00:00:00 2001 From: bescoto Date: Mon, 15 Sep 2003 03:00:11 +0000 Subject: 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 --- rdiff-backup/rdiff_backup/increment.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'rdiff-backup/rdiff_backup/increment.py') 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): -- cgit v1.2.1