updating triggers

This commit is contained in:
Serghey Rodin 2013-11-20 21:00:13 +02:00
commit fb176338de

View file

@ -1,15 +0,0 @@
#!/bin/bash
# Check if there is no crontab
if [ ! -e "/var/spool/cron" ]; then
exit
fi
# Fix ownership and permissions
for crn_tab in $(ls /var/spool/cron/); do
chown $crn_tab:$crn_tab /var/spool/cron/$crn_tab
chmod 600 /var/spool/cron/$crn_tab
done
exit