mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 18:19:33 +00:00
Make sure that cron_d file is not group writable (#67)
This commit is contained in:
@@ -76,6 +76,7 @@ start_cron() {
|
||||
apt update
|
||||
apt install -y cron
|
||||
[ -e /boulder/labca/setup_complete ] && [ ! -e /etc/cron.d/labca ] && ln -sf /labca/cron_d /etc/cron.d/labca || true
|
||||
chmod g-w /labca/cron_d
|
||||
[ -e /logs/cron.log ] || touch /logs/cron.log
|
||||
tail -f -n0 /logs/cron.log &
|
||||
service cron start
|
||||
|
||||
Reference in New Issue
Block a user