Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215361 - /var/spool/cron dir ownership/rights error
Summary: /var/spool/cron dir ownership/rights error
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Cron Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-29 19:43 UTC by Imre Péntek
Modified: 2009-03-03 18:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Imre Péntek 2008-03-29 19:43:40 UTC
By this time, crontab isn't usable as a regular user:

imi@boborjan ~ $ crontab -e
cannot chdir(/var/spool/cron), bailing out.
/var/spool/cron: Permission denied
imi@boborjan ~ $ ls -lad /var/spool/cron/
drwxr-x--- 4 root cron 4096 jan 25 14.15 /var/spool/cron/
imi@boborjan ~ $ ls -lad /var/spool/
drwxr-xr-x 5 root root 4096 jan 26 18.11 /var/spool/
imi@boborjan ~ $ ls -lad /var/
drwxr-xr-x 13 root root 4096 jan 26 18.23 /var/
imi@boborjan ~ $ ls -lad /
drwxr-xr-x 20 root root 4096 jan 26 20.52 /
imi@boborjan ~ $ 

Reproducible: Always
Comment 1 Arthur Hagen 2008-03-30 12:53:54 UTC
Users who are to use cron have to be added to the cron group.  This is by design.
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2008-03-31 06:21:45 UTC
please refer to the cron guide:
http://www.gentoo.org/doc/en/cron-guide.xml

please make sure that you also state which cron you are using.
if you still think this is a problem, then reopen. thanks.
Comment 3 Matus UHLAR - fantomas 2009-03-03 18:20:40 UTC
With vixie-cron the requirement for cron group is superflous, since is supports /etc/cron.allow and /etc/cron.deny files.