This question about Configuration: Answered
New log files in VM data folder are created with Root permissions
- upgraded to 1.04 I find that when a new month clicks over a new log file is created in the data folder, but with root ownership rather than www-data.
This grinds the server to a halt obviously with:
Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.
ERROR: Could not write "2009-05-04T17:30:44Z info | guest | view | Main.WebHome | Mozilla | 184.108.40.206" to path: Permission denied
CHOWNing resolves the issue, but what's the permanent fix?
Run your cron jobs as the apache user, not the root user.
- 05 May 2009
| Subject || Configuration |
| Extension || |
| Version || |
| Status || Answered |