crontab permissions are wrong. please set to 4755

From WebHostingNeeds.com
Jump to: navigation, search

When setting cron job on cpanel server, get following error

/usr/bin/crontab permissions are wrong. Please set to 4755

This happens on CentOS 5 and RHEL 5 servers. I never found such error in CentOS 4 servers.

To fix the problem, run


yum -y install vixie-cron crontabs
chmod 4755 /usr/bin/crontab