summaryrefslogtreecommitdiffstats
path: root/cron-jobs/adjust-permissions
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-09-14 01:27:28 +0200
committerDan McGee <dan@archlinux.org>2009-09-14 01:27:28 +0200
commit326d22b63d14012da72e2c9b56109c490e98cf63 (patch)
treeadb207fe6c9ee1ac3520eba30966a04ce4e3cb98 /cron-jobs/adjust-permissions
parentade48254bbe2ee2cedc7773dd5299fa2208f66ca (diff)
downloaddbscripts-326d22b63d14012da72e2c9b56109c490e98cf63.tar.gz
dbscripts-326d22b63d14012da72e2c9b56109c490e98cf63.tar.xz
Maybe I should make the script really adjust permissions
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'cron-jobs/adjust-permissions')
-rwxr-xr-xcron-jobs/adjust-permissions6
1 files changed, 2 insertions, 4 deletions
diff --git a/cron-jobs/adjust-permissions b/cron-jobs/adjust-permissions
index 91f2de7..0f87075 100755
--- a/cron-jobs/adjust-permissions
+++ b/cron-jobs/adjust-permissions
@@ -30,10 +30,8 @@ get_dir_owner() {
cd /srv/ftp
for d in $(get_repos_for_host); do
owner="$(get_dir_owner $d)"
- echo /bin/chown -R $owner $d/os/{any,i686,x86_64}
- #/bin/chown -R $owner $d/os/{any,i686,x86_64}
- echo /bin/chmod -R g+w $d/os/{any,i686,x86_64}
- #/bin/chmod -R g+w $d/os/{any,i686,x86_64}
+ /bin/chown -R $owner $d/os/{any,i686,x86_64}
+ /bin/chmod -R g+w $d/os/{any,i686,x86_64}
done
/bin/chmod 555 /srv/ftp