I have a CRON job running a shell script with the following command:
Unfortunately I get the following error:
The permissions for /var/log are
Do I need to add the user (dbupdater) to the wheel group and add write permissions to /varl/log? If so, how do I add the write permission for the wheel group only, and not for everybody? I know it is chmod but I am not sure of the parameters.
Code:
"MAILTO="me@work.com""
30 5 * * * $HOME/updatedb.sh &>> /var/log/updatedb.sh.log
Unfortunately I get the following error:
Code:
cannot create /var/log/dbupdater_updatedb.sh.log: Permission denied
The permissions for /var/log are
Code:
drwxr-xr-x 2 root wheel 1536 Dec 13 03:01 log
Do I need to add the user (dbupdater) to the wheel group and add write permissions to /varl/log? If so, how do I add the write permission for the wheel group only, and not for everybody? I know it is chmod but I am not sure of the parameters.