Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] non-root crontab failure (permissions issue?)
Date: Sun, 18 May 2008 07:33:22
Message-Id: 200805180932.55045.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] non-root crontab failure (permissions issue?) by King Spook
1 On Saturday 17 May 2008, King Spook wrote:
2 > "crontab -e" does not error out when run as root.
3 > "crontab -u myuser -e", when run as root, does create a crontab,
4 > which appears to be owned by root, grouped by root, and with rw
5 > permissions for owner only.
6 >
7 > How can I fix this?
8 > Thanks.
9
10 I would guess that you crontab binary is not guid:
11
12 alan@nazgul /var/spool $ ls -al `which crontab`
13 -rwxr-s--x 1 root crontab 30180 2007-11-02 12:59 /usr/bin/crontab*
14
15 The various permissions you list for files and dirs are correct - they
16 match my system which works correctly.
17
18
19 --
20 Alan McKinnon
21 alan dot mckinnon at gmail dot com
22
23 --
24 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] non-root crontab failure (permissions issue?) King Spook <kngspook@×××××.com>