2015-06-10 16:32:42 +00:00
|
|
|
# *-*-shell-*-*
|
|
|
|
#
|
|
|
|
case ${ACTION} in
|
|
|
|
post)
|
|
|
|
# fix permissions and owners
|
|
|
|
chown fcron:fcron usr/bin/fcrontab usr/bin/fcrondyn
|
|
|
|
chown root:fcron usr/bin/fcronsighup
|
|
|
|
chmod 110 usr/bin/fcron
|
|
|
|
chmod 4110 usr/bin/fcronsighup
|
|
|
|
chmod 6111 usr/bin/fcrontab usr/bin/fcrondyn
|
|
|
|
|
|
|
|
chown root:fcron etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny
|
|
|
|
chmod 640 etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny
|
|
|
|
|
|
|
|
chown fcron:fcron var/spool/fcron
|
2015-08-24 11:48:03 +00:00
|
|
|
chmod 770 var/spool/fcron
|
2015-06-10 16:32:42 +00:00
|
|
|
;;
|
|
|
|
esac
|