Make sure that cron_d file is not group writable (#67)

This commit is contained in:
Arjan H
2023-02-18 11:22:30 +01:00
parent bea86d72bd
commit 158862cc52

View File

@@ -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