Summary: | vixie-cron's crontab has wrong ownership | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erik Logtenberg <erik> |
Component: | Current packages | Assignee: | Cron Team <cron-bugs+disabled> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Erik Logtenberg
2005-01-13 12:15:53 UTC
The <a href=http://www.gentoo.org/doc/en/cron-guide.xml>guide</a> says that you should put in /etc/cron.allow all users permitted to use vixie-cron. Perhaps the comments in /etc/cron.deny are misleading but this is not a problem with portage. my /usr/bin/crontab from vixie-cron is perfectly fine by default: # ls -l /usr/bin/crontab -rws--x--- 1 root cron 33268 Jan 9 20:50 /usr/bin/crontab I don't know why yours was root:root. Not really sure why your crontab executable is root:root, but I highly doubt it was installed that way... straight from the ebuild (line 90):
insopts -o root -g cron -m 4750 ; doins crontab
>>> ll /usr/bin/crontab
-rws--x--- 1 root cron 29K Dec 17 06:26 /usr/bin/crontab
There was a bug in earlier versions which would cause the file to be installed with silly permissions. Once a file's installed, portage won't change its permissions. Check the FEATURES section of man 5 make.conf for various permission-related settings that'll override this. |