summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG1
-rw-r--r--cobbler/action_reposync.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 0ffe257..d0dc3ec 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -8,6 +8,7 @@ Cobbler CHANGELOG
- fix for name of F8 comps.xml file
- added option --rsync-flags to import command
- added http_port to settings to run Apache on non-80
+- rsync during createrepo now keeps filesystem permissions/groups
- ...
* Mon Dec 10 2007 - 0.7.0
diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py
index 4dce915..70656af 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: