Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #208923
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: nother problem I can't access my crontab, no perms |
| Date | 2019-05-20 20:50 +0200 |
| Message-ID | <xZVwe-477-7@gated-at.bofh.it> (permalink) |
| References | <xZSRI-2oR-3@gated-at.bofh.it> <xZTXr-3hO-7@gated-at.bofh.it> <xZVcR-40a-1@gated-at.bofh.it> |
| Organization | none,nada,zip |
On Monday 20 May 2019 02:21:20 pm Étienne Mollier wrote: > Good Day Gene, > > On coyote, /var/spool/cron contained: > > drwx-wx--T 2 root systemd-timesync 4096 Mar 31 09:15 crontabs > > ^^^ > You can't go through this "crontab" directory if you are not > root, or a member of the group systemd-timesync. That includes > that you can't read any file below, even if it is attributed to > you. > > 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? > > Kind Regards, Absolutely spot on, Étienne Mollier, thank you very much. Now cron has about 2 weeks work to catch up on. :) Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
nother problem I can't access my crontab, no perms Gene Heskett <gheskett@shentel.net> - 2019-05-20 18:00 +0200
Re: nother problem I can't access my crontab, no perms Gene Heskett <gheskett@shentel.net> - 2019-05-20 19:10 +0200
Re: nother problem I can't access my crontab, no perms Étienne Mollier <etienne.mollier@mailoo.org> - 2019-05-20 20:30 +0200
Re: nother problem I can't access my crontab, no perms Gene Heskett <gheskett@shentel.net> - 2019-05-20 20:50 +0200
Re: nother problem I can't access my crontab, no perms Étienne Mollier <etienne.mollier@mailoo.org> - 2019-05-20 21:00 +0200
csiph-web