Aug 12 2010

cron/USER: Permission denied

Éverton Arruda

I was trying to run crontab -e command and got this error message:

[git@pandora gitorious]$ crontab -e
cron/git: Permission denied

As the message says: it’s a permission problem. To solve this you’ll have to change /usr/bin/crontab‘s permissions:

1
# chmod 4755 /usr/bin/crontab

And if that does not solve your problem, check /var/spool/cron/‘s permissions, they should match: drwxr-xr-x (755).

Sources:
* http://www.webhostingtalk.com/archive/index.php/t-638933.html
* http://linux.derkeiler.com/Mailing-Lists/Debian/2003-09/3613.html