erop
1
Hi!
I have usual permission settings for <suitecrm_root> directory with
chown -R www-data:www-data <suitecrm_root>
. But it looks like sometimes suitecrm.log switches its ownership to something like
-rw-r--r-- 1 root www-data 99927 Jun 23 12:15 suitecrm.log
Are there any particular reasons for that or this is just my server env is wrong?
One possibility may be that you have the cron jobs running as root. If this is the case changing to use www-data should fix this.
Hope this helps,
Jim
erop
3
Look like you’re absolutely right! On ubuntu machine setting up crontab for www-data user with
$ sudo crontab -u www-data -e
fixed the issue!
P.S. Don’t forget to comment or wipe out the task in root crontab.
Thank you, Jim!