summaryrefslogtreecommitdiff
path: root/cron-jobs/adjust-permissions
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/adjust-permissions')
-rwxr-xr-xcron-jobs/adjust-permissions3
1 files changed, 3 insertions, 0 deletions
diff --git a/cron-jobs/adjust-permissions b/cron-jobs/adjust-permissions
index 232d48a..1493f4b 100755
--- a/cron-jobs/adjust-permissions
+++ b/cron-jobs/adjust-permissions
@@ -6,6 +6,9 @@ fi
/bin/touch /tmp/.ftpmaint.lck
+#adjust the nice level to run at a lower priority
+/usr/bin/renice +10 -p $$ > /dev/null
+
cd /home/ftp
/bin/chown -R ftp:ftp-arch core/os/i686
/bin/chown -R ftp:ftp-arch core/os/x86_64