#!/usr/bin/env bash # Tell this script to exit if there are any errors. # You should have this in every custom script, to ensure that your completed # builds actually ran successfully without any errors! set -oue pipefail # echo "Setting more restrictive file permissions..." # chmod 700 /etc/cron.d # chmod 700 /etc/cron.daily/ # chmod 700 /etc/cron.daily # chmod 700 /etc/cron.hourly # chmod 700 /etc/cron.weekly # chmod 700 /etc/cron.monthly