1 |
On Sun, May 18, 2008 at 7:08 AM, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
2 |
> On Sunday 18 May 2008, King Spook wrote: |
3 |
> . |
4 |
>> So I checked mine using, and you were right in that the permissions |
5 |
>> were different. So then I tried to make them mirror yours using: |
6 |
>> sudo chmod u=rwx,g=rs,o=x /usr/bin/crontab |
7 |
>> |
8 |
>> But the permissions would up like so: |
9 |
>> -rwxr-S--x 1 root crontab 35120 Mar 6 17:16 crontab |
10 |
>> |
11 |
>> Now when trying "crontab -e", I get: |
12 |
>> -bash: /usr/bin/crontab: Permission denied |
13 |
>> |
14 |
>> I'm guessing I messed up in setting guid, since yours is lower-case |
15 |
>> 's', and mine's showing upper? |
16 |
> |
17 |
> Ah, that's easy to fix :-) The uppercase "S" means that the "x" |
18 |
> permission underneath it is not set on, so you will also have to do |
19 |
> this (as root) |
20 |
> |
21 |
> chmod g+x $(which crontab) |
22 |
> |
23 |
> |
24 |
> -- |
25 |
> Alan McKinnon |
26 |
> alan dot mckinnon at gmail dot com |
27 |
> |
28 |
> -- |
29 |
> gentoo-user@l.g.o mailing list |
30 |
> |
31 |
> |
32 |
|
33 |
I should've been able to figure that out, at least. =\ |
34 |
|
35 |
Thanks for all the help; it works now. I really appreciate it. |
36 |
-- |
37 |
gentoo-user@l.g.o mailing list |