cPanel Error: Permission on “/usr/bin/crontab” are wrong (4755). Please set to 4755 [SOLVED]

Several cases have been reported where a broken symlink results in a permissions error when viewing or attempting to modify user cron jobs. Restoring the link resolves the issue.

Pre-Flight Check

  • These instructions are specifically for resolving the error: “Permission on ‘/usr/bin/crontab’ are wrong (4755). Please set to 4755”.
  • The error applies only to specific cPanel versions and CentOS operating systems, and appears to be most common for those using the x3 cPanel theme.
  • You will need root SSH access to the server to resolve the error.

Solution: Re-link the files

Fortunately, the fix for this error is quite simple. You can easily restore the link and resolve the error by running this command:

ln -s /usr/local/cpanel/bin/jail_safe_crontab /usr/bin/crontab

You now should be able to view and edit user cron jobs without error.

 

How to Display (List) All Jobs in Cron / Crontab

Servers can automatically perform tasks that you would otherwise have to perform yourself, such as running scripts. On Linux servers, the cron utility is the preferred way to automate the running of scripts. For an introduction to Cron check-out our KB: How To: Automate Server Scripts With Cron

View Root’s Cron Jobs

crontab -l

Continue reading “How to Display (List) All Jobs in Cron / Crontab”