19 lines
499 B
Text
19 lines
499 B
Text
|
# *-*-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
|
||
|
chmod 770 var/spool/fcron
|
||
|
;;
|
||
|
esac
|