httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: permissions for logs
Date Fri, 07 Jun 2002 18:22:12 GMT

On Fri, 7 Jun 2002, Paul Stephenson wrote:

> Hello, easy question here.  If I have my user:group set in httpd.conf to
> be www for user and www for group, what permissions do the logs need to
> have.  Do they have to be writeable by www or does the original thread
> running as root take care of it?

Neither the log directory, nor any parent directory of the log directory,
should be writable by anyone except the user that starts the server
(usually root).  The log files are opened by the parent process before
forking the children, so the User/Group setting does not affect them.
The log files themselves are created by the server, subject to the
server's umask.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message