diff options
Diffstat (limited to 'geo-replication/syncdaemon/resource.py')
| -rw-r--r-- | geo-replication/syncdaemon/resource.py | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/resource.py b/geo-replication/syncdaemon/resource.py index 10c6406e283..a1281012264 100644 --- a/geo-replication/syncdaemon/resource.py +++ b/geo-replication/syncdaemon/resource.py @@ -831,6 +831,7 @@ class SlaveRemote(object):               '--stats', '--numeric-ids', '--no-implied-dirs'] + \              gconf.rsync_options.split() + \              (boolify(gconf.sync_xattrs) and ['--xattrs'] or []) + \ +            (boolify(gconf.sync_acls) and ['--acls'] or []) + \              ['.'] + list(args)          po = Popen(argv, stdin=subprocess.PIPE, stderr=subprocess.PIPE)          for f in files: @@ -854,10 +855,12 @@ class SlaveRemote(object):          (host, rdir) = slaveurl.split(':')          tar_cmd = ["tar"] + \              (boolify(gconf.sync_xattrs) and ['--xattrs'] or []) + \ +            (boolify(gconf.sync_acls) and ['--acls'] or []) + \              ["-cf", "-", "--files-from", "-"]          ssh_cmd = gconf.ssh_command_tar.split() + \              [host, "tar"] + \              (boolify(gconf.sync_xattrs) and ['--xattrs'] or []) + \ +            (boolify(gconf.sync_acls) and ['--acls'] or []) + \              ["--overwrite", "-xf", "-", "-C", rdir]          p0 = Popen(tar_cmd, stdout=subprocess.PIPE,                     stdin=subprocess.PIPE, stderr=subprocess.PIPE)  | 
