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

Re: crontab permissions problem on /var/spool/cron/crontabs/*



On Sun, Jan 24, 2010 at 01:00:13PM +0000, 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
files rather than editing a crontab in-place. That's what the message is
telling you: the name of the last temp file used to edit the crontab.

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"


Reply to: