[rock-sm] 2004032815360918485 clifford vote pro
submaster at rocklinux.org
submaster at rocklinux.org
Tue May 4 17:32:49 CEST 2004
Open Patch: 2004032815360918485 [by mathieu] + clifford
+ mathieu
Mathieu Doidy: + mnemoc
updated cron (3.0pl1-83)
fixed crontab use for non-root user
needed to add a new group for crontab (53)
current crontabs have to be updated :
for i in /var/spool/cron/crontabs/; do chown $
{i}.crontab $i; done
(blindcoder) wouldn't that be for i in /var/spool/cron/
crontabs/; do chown ${i#*/}.crontab ${i}; chmod g+rw ${i};
done
(mathieu) ack for the ${i#*/}, i did not test the script, it
was just to give the idea, but the chmod g+rw is not
necessary though
(clifford) hmm.. /var/spool/cron is "drwx------ root.root".
Are you sure that works?
(mathieu) given the explicit "chmod a+rx $root/var/spool/
cron" in the postinst hook added by my patch, i'd say yes.
can you check your build ? this does not seem right
(mnemoc) on a clean build /var/spool/cron doesn't exist ...
[2004042323555629267] complement this to fix that
----------------------------------------------------------------------------
https://www.rocklinux.net/submaster/smadm.cgi?i=2004032815360918485
More information about the rock-sm
mailing list