{"id":45,"date":"2009-09-20T16:47:07","date_gmt":"2009-09-20T20:47:07","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=45"},"modified":"2013-03-20T08:39:38","modified_gmt":"2013-03-20T12:39:38","slug":"usrbincrontab-permissions-are-wrong-6755","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/usrbincrontab-permissions-are-wrong-6755","title":{"rendered":"\/usr\/bin\/crontab permissions are wrong (6755)"},"content":{"rendered":"<p>While adding a cron job from cPanel, you may see an error message as<\/p>\n<blockquote><p><strong>\/usr\/bin\/crontab permissions are wrong (6755). Please set to 4755.<\/strong><\/p><\/blockquote>\n<p>The reason is quite simple, the &#8220;crontab&#8221; executable have incorrect permissions as stated in the error message. The permissions of \/usr\/bin\/crontab should be 4755.<\/p>\n<p><strong>root@server [~]# ls -la \/usr\/bin\/crontab<br \/>\n-rwsr-xr-x  1 root root 208810 Jun  1 12:24 \/usr\/bin\/crontab*<\/strong><\/p>\n<p>In order to set the required permissions, ssh to your server as user &#8216;root&#8217; and use the the &#8216;chmod&#8217; command to correct the permissions:<\/p>\n<p><strong>chmod 4755 \/usr\/bin\/crontab<\/strong><br \/>\nOR<br \/>\n<strong>chmod u+s \/usr\/bin\/crontab<\/strong><\/p>\n<p>Once the permissions are corrected, you will be able to add the cronjobs from cPanel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While adding a cron job from cPanel, you may see an error message as<br \/>\n\/usr\/bin\/crontab permissions are wrong (6755). Please set to 4755.<br \/>\nThe reason is quite simple, the &#8220;crontab&#8221; executable have incorrect permissions as stated in the error message. The permissions of \/usr\/bin\/crontab should be 4755.<br \/>\nroot@server [~]# ls -la \/usr\/bin\/crontab<br \/>\n-rwsr-xr-x  1 root root 208810 Jun  1 12:24 \/usr\/bin\/crontab*<br \/>\nIn order to set the required permissions, ssh to your server as user &#8216;root&#8217; and use the the &#8216;chmod&#8217; command to correct the permissions:<br \/>\nchmod 4755 \/usr\/bin\/crontab<br \/>\nOR<br \/>\nchmod u+s \/usr\/bin\/crontab<br \/>\nOnce the permissions [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[144,145,146,147,143],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/45"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":4,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":2114,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/45\/revisions\/2114"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}