Add to Favourites Add to Favourites    Print this Article Print this Article

crontab returned non zero value: chown: Operation not permitted

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



Was this answer helpful?

Also Read