Hi,

I don't have this specific issue, ie I can execute a crontab owned by
an unpriviledged user, using the /bin/date example discussed.

However I can't edit or list my crontab as an unpriviledged user.
If these are unlikely to be related please could you clone this
report out to another bug.

What I see is:
 % crontab -l
 crontabs/fred: Permission denied
 % crontab -e
 crontabs/fred: Permission denied

 % ls -l /var/spool/cron
 total 12
 drwxrwx--T 2 daemon daemon  4096 Apr 24 04:22 atjobs
 drwxrwx--T 2 daemon daemon  4096 Jan  3  2006 atspool
 drwx-wx--T 2 root   crontab 4096 May 14 12:03 crontabs

 # ls -l /var/spool/cron/crontabs
 total 8
 -rw------- 1 root   crontab 293 Feb 26 22:40 root
 -rw------- 1 fred   crontab 456 May 14 12:03 fred

Running
 % strace -f -s 2048 crontab -l
shows I am getting EACCESS trying to
  open("crontabs/fred", O_RDONLY)

I can list and edit my crontab on a 'sarge' box (cron-3.0pl1-86).
However if I run 'strace' on this box I see the same problem, ie
I get EACCESS trying to open("crontabs/fred", O_RDONLY).


Cheers
Vince



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to