crontab returned non zero value: chown: Operation not permitted


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » System Level

crontab returned non zero value: chown: Operation not permittedLast Modified: Jan 26, 2016, 3:49 pm
When adding a cronjob through DA, if you see this error:

crontab returned non zero value: chown: Operation not permitted

it's most likely related to the +s flag on the crontab binary.

Check:

root@server:~# ls -la /usr/bin/crontab
-rwxr-sr-x 1 root crontab 34760 Jul 3 2012 /usr/bin/crontab

and run this so it's set accordingly:

root@server:~# chmod 4755 /usr/bin/crontab
root@server:~# ls -la /usr/bin/crontab
-rwsr-xr-x 1 root crontab 34760 Jul 3 2012 /usr/bin/crontab


2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST