This question about Configuration: Answered

New log files in VM data folder are created with Root permissions

In FoswikiVM - 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 | 207.235.64.30" 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.

-- CrawfordCurrie - 05 May 2009

QuestionForm edit

Subject Configuration
Extension
Version
Status Answered
Topic revision: r2 - 05 May 2009, CrawfordCurrie - This page was cached on 15 Jan 2018 - 00:16.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License