Just got my new linux server sorted, had it hardened by the planet. I set up a cron to execute a back up by first adding the user in cron.allow then setting the cron via WHM to execute my script ( i have used this script on another server and works fine)
However I get the following error when the cron executed.
/home/icocnser/backups/getbackups1.sh: line 1: /home/icocnser/backups/ocusa.gz: Permission denied
mysqldump: Got errno 32 on write
I test the line i put in to cron manager through SSH and works fine and does the back up.... so i guess there is a permission problem when cron does its bit.
Does anyone know why cron spits out this error?
