summaryrefslogtreecommitdiffstats
path: root/cron-jobs/adjust-permissions
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-11-21 07:42:56 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2008-11-21 07:42:56 +0100
commiteada2876aa5860edc17949154a505b8a431b1b83 (patch)
tree32b584e7098c6c6bfe5fdc606dadd20bc3ac8616 /cron-jobs/adjust-permissions
parent836152eed8893d6884796363419ce61ea7b7b417 (diff)
downloaddbscripts-eada2876aa5860edc17949154a505b8a431b1b83.tar.gz
dbscripts-eada2876aa5860edc17949154a505b8a431b1b83.tar.xz
Move cron-jobs to /srv from /home
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
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