A ps to the perms msg
Colin Law
clanlaw at googlemail.com
Thu Jul 12 20:10:36 UTC 2012
On 12 July 2012 18:14, Gene Heskett <gheskett at wdtv.com> wrote:
> On Thursday 12 July 2012 13:07:22 Colin Law did opine:
>
>> On 12 July 2012 15:40, Gene Heskett <gheskett at wdtv.com> wrote:
>> > Greets all;
>> >
>> > I just changed /var/spool/cron/crontabs/gene so its owned by me again,
>> > but I am still being denied crontab -e permissions. Probably because
>> > /var/spool/cron/crontabs is also owned by root:root. But since that
>> > directory contains ALL the crontabs, I can't just willy nilly change
>> > that to, so I am reduced to scratching my thinning hair and muttering
>> > WTF?
>>
>> On mine, /var/spool/cron/crontabs/<user> is owned by <user> but group
>> crontab. Try crontab for the group if you have not already done that.
>> the crontabs folder is owned by root:crontab.
>
> Thank you, now I can edit it. But looking in that directory, is not root
> supposed to have a system stuff file there, something to run logrotate for
> example? Mine seems like it is the only one there. ??
There is nothing in mine except the ordinary users. I don't know how
it does logrotate and so on.
>
> Also, I am not a member of the crontab group in /etc/group. That also
> seems strange since I am the only meat & bones composed user, with sudo
> rights on the machine. Stranger and stranger this rootless ubuntu is
> becoming.
I am not a member of crontab either, so again I don't know how it
works. No doubt someone more knowledgeable will elucidate ........
Colin
More information about the ubuntu-users
mailing list