Issue with crontab
Posted: 19 May 2015, 13:01
Hello,
I run CSF on Ubuntu 14. I have a crontab (root) running a script which creates a backup and then encrypts it using gpg.
The thing is, the tar file is created but gpg does not encrypt it. The error log shows :
cron[30295]: (*system*csf-cron) WRONG FILE OWNER (/etc/cron.d/csf-cron)
BUT the tar file owner is ROOT which is correct.
if i run the command directly in shell it works. Via crontb it doesnt work. I have tried disabling CSF but it will still output :
cron[30295]: (*system*csf-cron) WRONG FILE OWNER (/etc/cron.d/csf-cron)
Any ideas?
Thanks
I run CSF on Ubuntu 14. I have a crontab (root) running a script which creates a backup and then encrypts it using gpg.
The thing is, the tar file is created but gpg does not encrypt it. The error log shows :
cron[30295]: (*system*csf-cron) WRONG FILE OWNER (/etc/cron.d/csf-cron)
BUT the tar file owner is ROOT which is correct.
if i run the command directly in shell it works. Via crontb it doesnt work. I have tried disabling CSF but it will still output :
cron[30295]: (*system*csf-cron) WRONG FILE OWNER (/etc/cron.d/csf-cron)
Any ideas?
Thanks