Skip to content

Commit

Permalink
Fix permissions when rsync'ing yum repositories.
Browse files Browse the repository at this point in the history
Needed --no-p and --no-g.
  • Loading branch information
dgoodwin committed Nov 22, 2011
1 parent a38c18c commit 2fb1dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tito/release.py
Expand Up @@ -287,7 +287,7 @@ def release(self, dry_run=False):

print("Syncing yum repository back to: %s" % rsync_location)
# TODO: configurable rsync options?
cmd = "rsync -avtz --delete %s/ %s" % \
cmd = "rsync -avtz --no-p --no-g --delete %s/ %s" % \
(yum_temp_dir, rsync_location)
if self.dry_run:
self.print_dry_run_warning(cmd)
Expand Down

0 comments on commit 2fb1dfc

Please sign in to comment.