Re: crontab permissions
On Sat, Jul 01, 2006 at 10:33:31AM -0700, Andrew Sackville-West wrote:
> On Sat, Jul 01, 2006 at 06:39:17PM +0200, Dimitar Vukman wrote:
> > Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
> >
> > > can someone provide their permissions, group and owner settings or
> > > perhaps some other insight?
> >
> > [06:38 PM Sat Jul 01][root@defiant]:/var/spool/cron/crontabs
> > # ls -al
> > total 12
> > drwx-wx--T 2 root crontab 4096 2006-05-27 11:44 .
> > drwxr-xr-x 5 root root 4096 2005-08-17 20:52 ..
> > -rw------- 1 mito crontab 191 2005-10-06 23:33 mito
> >
> >
> > Hope it helps!
>
> 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.
The crontab executable has gid set so runs as group crontab:
$ ls -l `which crontab`
-rwxr-sr-x 1 root crontab 26668 Mar 31 16:43 /usr/bin/crontab
Otherwise my permissions are as above.
Ken
--
Ken Irving, fnkci@uaf.edu
Reply to: