On Saturday 17 May 2008, King Spook wrote:
> "crontab -e" does not error out when run as root.
> "crontab -u myuser -e", when run as root, does create a crontab,
> which appears to be owned by root, grouped by root, and with rw
> permissions for owner only.
>
> How can I fix this?
> Thanks.

I would guess that you crontab binary is not guid:

[EMAIL PROTECTED] /var/spool $ ls -al `which crontab`
-rwxr-s--x 1 root crontab 30180 2007-11-02 12:59 /usr/bin/crontab*

The various permissions you list for files and dirs are correct - they 
match my system which works correctly.


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to