diff options
author | Dan McGee <dan@archlinux.org> | 2009-09-14 01:27:28 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-09-14 01:27:28 +0200 |
commit | 326d22b63d14012da72e2c9b56109c490e98cf63 (patch) | |
tree | adb207fe6c9ee1ac3520eba30966a04ce4e3cb98 /cron-jobs/adjust-permissions | |
parent | ade48254bbe2ee2cedc7773dd5299fa2208f66ca (diff) | |
download | dbscripts-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-x | cron-jobs/adjust-permissions | 6 |
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 |