On Sunday 18 May 2008, King Spook wrote: . > So I checked mine using, and you were right in that the permissions > were different. So then I tried to make them mirror yours using: > sudo chmod u=rwx,g=rs,o=x /usr/bin/crontab > > But the permissions would up like so: > -rwxr-S--x 1 root crontab 35120 Mar 6 17:16 crontab > > Now when trying "crontab -e", I get: > -bash: /usr/bin/crontab: Permission denied > > I'm guessing I messed up in setting guid, since yours is lower-case > 's', and mine's showing upper?
Ah, that's easy to fix :-) The uppercase "S" means that the "x" permission underneath it is not set on, so you will also have to do this (as root) chmod g+x $(which crontab) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list