Web lists-archives.com

Re: nother problem I can't access my crontab, no perms




On 5/20/19 8:40 PM, Gene Heskett wrote:
>> I would tend to believe that execution of "crontab" related
>> commands will benefit from the proper UIDs when operating.  On
>> my machine, at the same working directory, I have:
>>
>> 	$ sudo ls -lR
>> 	.:
>> 	total 0
>> 	drwx-wx--T 2 root crontab 21 Feb 28 22:49 crontabs
>>
>> 	./crontabs:
>> 	total 4
>> 	-rw------- 1 user crontab 381 Feb 28 22:49 user
>>
>> It would seem that your restore attempt conserved UIDs, but
>> crontab's former UID has become systemd-timesyncd one.  Perhaps
>> a well placed `chgrp -R crontab crontabs/` will do?

Whoopsie, for the sake of precision, I mostly meant GID (Group
Identifier) instead of UID (User Identifier).

> Absolutely spot on,  Étienne Mollier, thank you very much.  Now cron has 
> about 2 weeks work to catch up on. :)

Glad to read that  :)
-- 
Étienne Mollier <etienne.mollier@xxxxxxxxxx>