Hello,

Please find attached a patch for cron. The "crontab" group does not
exist in some distribution (including Fedora) and "chgrp crontab ..."
in cron.conf brakes the build. Using a group number instead of the
group name is safer and works on all hosts.


-- 
Dmitry S. Vasilchenko
Index: package/base/cron/cron.conf
===================================================================
--- package/base/cron/cron.conf	(revision 37038)
+++ package/base/cron/cron.conf	(working copy)
@@ -26,7 +26,8 @@
 	mkdir -p $root/var/spool/cron/crontabs
         chmod a+rx $root/var/spool/cron
         chmod 1730 $root/var/spool/cron/crontabs
-        chgrp crontab $root/$prefix/bin/crontab $root/var/spool/cron/crontabs
+	# change group ownership to crontab (53)
+        chgrp 53 $root/$prefix/bin/crontab $root/var/spool/cron/crontabs
         chmod u-s,g+s $root/$prefix/bin/crontab
 }
 
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to