Hello Freinds,
Sometime while adding a cron job from cPanel, you may see an error message as
/usr/bin/crontab permissions are wrong (6755). Please set to 4755.
This is because the “crontab” executable have incorrect permissions as per the error message. The permissions of /usr/bin/crontab should be 4755.
You can check the permission using the below command :
========================
ls -la /usr/bin/crontab
========================
In order to set the correct permissions, you can ssh to the server as user ‘root’ and use the the ‘chmod’ command :
========================
chmod 4755 /usr/bin/crontab
========================
OR
========================
chmod u+s /usr/bin/crontab
========================
Once the permissions are corrected, you will be able to add the cronjobs from cPanel.
Regards,
Nelson S
Sometime while adding a cron job from cPanel, you may see an error message as
/usr/bin/crontab permissions are wrong (6755). Please set to 4755.
This is because the “crontab” executable have incorrect permissions as per the error message. The permissions of /usr/bin/crontab should be 4755.
You can check the permission using the below command :
========================
ls -la /usr/bin/crontab
========================
In order to set the correct permissions, you can ssh to the server as user ‘root’ and use the the ‘chmod’ command :
========================
chmod 4755 /usr/bin/crontab
========================
OR
========================
chmod u+s /usr/bin/crontab
========================
Once the permissions are corrected, you will be able to add the cronjobs from cPanel.
Regards,
Nelson S