summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-01-10 14:42:21 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-01-10 14:42:21 -0500
commit199968e5364c97d9eb80767eec7d5541712c4109 (patch)
tree50ccd035dff2f5a03babcaebe61dfe2e9c1d5ccf /cobbler
parent72dfe3964b7daab1152a90a89587a5796a66ecb3 (diff)
downloadthird_party-cobbler-199968e5364c97d9eb80767eec7d5541712c4109.tar.gz
third_party-cobbler-199968e5364c97d9eb80767eec7d5541712c4109.tar.xz
third_party-cobbler-199968e5364c97d9eb80767eec7d5541712c4109.zip
Modify reposync to not preserve permissions on rsync.
Conflicts: CHANGELOG
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/action_reposync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py
index 1cbb6e2..fea61d6 100644
--- a/cobbler/action_reposync.py
+++ b/cobbler/action_reposync.py
@@ -203,7 +203,7 @@ class RepoSync:
spacer = "-e ssh"
if not repo.mirror.endswith("/"):
repo.mirror = "%s/" % repo.mirror
- cmd = "rsync -av %s --delete --delete-excluded --exclude-from=/etc/cobbler/rsync.exclude %s %s" % (spacer, repo.mirror, dest_path)
+ cmd = "rsync -rltDv %s --delete --delete-excluded --exclude-from=/etc/cobbler/rsync.exclude %s %s" % (spacer, repo.mirror, dest_path)
print _("- %s") % cmd
rc = sub_process.call(cmd, shell=True)
if rc !=0: