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


One Response to “cron/USER: Permission denied”

  • Joe Brazeal Says:

    if you have 0 bytes in /etc/cron.allow it will
    fail with same error. Remove this file if you are not specific with cron.allow

Leave a Reply