On Sun, Jan 24, 2010 at 01:00:13PM +, Anthony Campbell wrote:
> /var/spool/cron/crontabs/ac: Permission denied
The crontabs directory should be owned by root:crontab, not root:root.
> I don't have any such file in /tmp.
Nor should you. /usr/bin/crontab works like sudoedit, and uses temp
fi
Anthony Campbell wrote:
I get an error when running crontab as user:
/var/spool/cron/crontabs/ac: Permission denied
Googling shows a few people with a similar problem but either no
solution or one that doesn't work here (crontab not having setguid or
not in the crontab group).
The permissions
I get an error when running crontab as user:
/var/spool/cron/crontabs/ac: Permission denied
Googling shows a few people with a similar problem but either no
solution or one that doesn't work here (crontab not having setguid or
not in the crontab group).
The permissions are:
drwx-wx--T 2 root ro
On 24 Jan 2010, Anthony Campbell wrote:
Sorry to follow-up to myself but I solved the problem simply by
reinstalling cron. I don't know what had happened previously but anyway
it's now working correctly.
Anthony
--
Anthony Campbell - a...@acampbell.org.uk
Microsoft-free zone - Using Debian GNU
On Sat, Jul 01, 2006 at 08:46:33PM +0200, Dimitar Vukman wrote:
> On Sat, 1 Jul 2006 11:36:18 -0700
> Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
>
> > no i haven't, but its solved. My /usr/bin/crontab had the wrong
> > permissions -- it was owner:group root:root instead of root:crontab
> > w
On Sat, 1 Jul 2006 11:36:18 -0700
Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> no i haven't, but its solved. My /usr/bin/crontab had the wrong
> permissions -- it was owner:group root:root instead of root:crontab
> with gid. that's fixed now and it works whether I am in the crontab
> group o
On Sat, Jul 01, 2006 at 07:56:53PM +0200, Dimitar Vukman wrote:
> On Sat, 1 Jul 2006 10:33:31 -0700
> Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
>
> > hmm... that doesn't do it., but I'm not in the crontab group, are you?
>
> Neithere am I.
> Have you tried deleting the /var/spool/crontabs
On Sat, Jul 01, 2006 at 10:12:50AM -0800, Ken Irving wrote:
> 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 <[EMAIL PROTECTED]> wrote:
> > >
> > > > can someone provide their pe
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 <[EMAIL PROTECTED]> 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
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 <[EMAIL PROTECTED]> wrote:
> >
> > > can someone provide their permissions, group and owner settings or
> > > perhaps some other insigh
On Sat, 1 Jul 2006 10:33:31 -0700
Andrew Sackville-West <[EMAIL PROTECTED]> 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 per
On Sat, 1 Jul 2006 10:33:31 -0700
Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> hmm... that doesn't do it., but I'm not in the crontab group, are you?
Neithere am I.
Have you tried deleting the /var/spool/crontabs/* ?
--
"Infinite Love Is The Only Truth, Everything Else Is Illusion!"
On Sat, Jul 01, 2006 at 06:39:17PM +0200, Dimitar Vukman wrote:
> On Sat, 1 Jul 2006 09:27:39 -0700
> Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
>
> > can someone provide their permissions, group and owner settings or
> > perhaps some other insight?
> >
> > A
>
>
> [06:38 PM Sat Jul [EMAI
On Sat, 1 Jul 2006 09:27:39 -0700
Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> can someone provide their permissions, group and owner settings or
> perhaps some other insight?
>
> A
[06:38 PM Sat Jul [EMAIL PROTECTED]:/var/spool/cron/crontabs
# ls -al
total 12
drwx-wx--T 2 root crontab 4
hey gang, I'm curious what others have for permissions on their
crontab files. I am unable to edit mine as a regular user:
[EMAIL PROTECTED]:$ crontab -e
crontabs/andrew: Permission denied
and must do:
[EMAIL PROTECTED]:$ sudo crontab -u andrew -e
according to man crontab:
If the /etc/cron.al
15 matches
Mail list logo