How to set crontab to permission 4755

Well this burned several hours of my time to get cronjobs running on a new server. I was manually setting crontab permissions to 4755 as CPanel requested before inputing a cronjob – but the permissions kept resetting themselves so my cronjob wouldn’t save. Do it from your ssh console as root instead; here is the fix:

If you are receiving the error “/usr/bin/crontab permissions are wrong. Please set to 4755” when in the cron section of cPanel, the commands below may correct the error for Redhat/CentOS/Fedora servers.

Log into the server via ssh or the console as root and run:
chmod 4755 /usr/bin/crontab

2 thoughts on “How to set crontab to permission 4755

Leave a Reply

Your email address will not be published. Required fields are marked *