[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: crontab permissions



On Sat, Jul 01, 2006 at 08:02:58PM +0200, Dimitar Vukman wrote:
> On Sat, 1 Jul 2006 10:33:31 -0700
> Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
> 
> 
> > hmm... that doesn't do it., but I'm not in the crontab group, are you?
> > It seems strange that a file would have an owner that is not in the
> > same group as the file's group. 
> 
> I've got an idea. What are your permissions on /tmp ? That's there a
> file gets created when you issue crontab -e. 

good thought:

andrew@basement:/var/spool/cron$ ls -al /tmp
total 20K
drwxrwxrwt 11 root   root    280 2006-07-01 11:26 .
drwxr-xr-x 27 root   root   4.0K 2006-06-21 13:53 ..
drwx------  3 andrew andrew   60 2006-07-01 11:08 gconfd-andrew
drwx------  2 andrew andrew   60 2006-06-30 18:25 gpg-89eV9I
drwx------  2 andrew andrew   60 2006-06-30 18:25 gpg-FZpbiN
drwx------  2 andrew andrew   60 2006-06-30 18:25 gpg-Kk0Lez
drwxrwxrwt  2 root   root     60 2006-06-30 18:25 .ICE-unix
drwx------  2 andrew andrew   80 2006-07-01 11:08 orbit-andrew
drwx------  2 andrew andrew   60 2006-06-30 18:25 ssh-dHwHnb4222
drwx------  2 andrew andrew   60 2006-06-30 18:25 ssh-Idrdpv4222
-r--r--r--  1 root   root     11 2006-06-30 18:25 .X0-lock
drwxrwxrwt  2 root   root     60 2006-06-30 18:25 .X11-unix
-rw-------  1 andrew andrew  207 2006-06-30 18:25 .xfsm-ICE-t5MJNT
-rw-------  1 andrew andrew 4.3K 2006-07-01 09:20 zmanl3vHqv
andrew@basement:/var/spool/cron$ ls -al / | grep tmp
drwxrwxrwt  11 root  root    280 2006-07-01 11:26 tmp

that looks okay to me, but I'm not sure. I've messed with /tmp in the
past when there were problems with X starting (long time ago) and it
was a permissions issue with /tmp. So I nuked the problem with chmod
1777 /tmp, IIRC.

A

Attachment: signature.asc
Description: Digital signature


Reply to: