summaryrefslogtreecommitdiffstats
path: root/cobbler/action_reposync.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-02-14 13:10:06 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-02-14 13:10:06 -0500
commitf83a600cdc71aba458595019fe03b99258fc9553 (patch)
treefbd673dc8eb768902a6aff05ff0296394fd272c6 /cobbler/action_reposync.py
parent72fc0db631b5d64e8de59ff5478b61316e7e4c43 (diff)
downloadthird_party-cobbler-f83a600cdc71aba458595019fe03b99258fc9553.tar.gz
third_party-cobbler-f83a600cdc71aba458595019fe03b99258fc9553.tar.xz
third_party-cobbler-f83a600cdc71aba458595019fe03b99258fc9553.zip
Fix permissions on reposync
Diffstat (limited to 'cobbler/action_reposync.py')
-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 535b9b4..06340aa 100644
--- a/cobbler/action_reposync.py
+++ b/cobbler/action_reposync.py
@@ -282,7 +282,7 @@ class RepoSync:
cmd1 = "chown -R root:apache %s" % repo_path
sub_process.call(cmd1, shell=True)
- cmd2 = "chmod -R 640 %s" % repo_path
+ cmd2 = "chmod -R 755 %s" % repo_path
sub_process.call(cmd2, shell=True)
getenforce = "/usr/sbin/getenforce"