summaryrefslogtreecommitdiffstats
path: root/cron-jobs/adjust-permissions
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/adjust-permissions')
-rwxr-xr-xcron-jobs/adjust-permissions4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-jobs/adjust-permissions b/cron-jobs/adjust-permissions
index 1493f4b..307c319 100755
--- a/cron-jobs/adjust-permissions
+++ b/cron-jobs/adjust-permissions
@@ -9,7 +9,7 @@ fi
#adjust the nice level to run at a lower priority
/usr/bin/renice +10 -p $$ > /dev/null
-cd /home/ftp
+cd /srv/ftp
/bin/chown -R ftp:ftp-arch core/os/i686
/bin/chown -R ftp:ftp-arch core/os/x86_64
/bin/chown -R ftp:ftp-extra {extra,testing}/os/i686
@@ -20,6 +20,6 @@ for d in core extra testing community; do
/bin/chmod -R g+w $d/os/i686
/bin/chmod -R g+w $d/os/x86_64
done
-/bin/chmod 555 /home/ftp
+/bin/chmod 555 /srv/ftp
rm -f /tmp/.ftpmaint.lck