httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Stephenson" <PStephen...@ficgroup.com>
Subject RE: permissions for logs
Date Fri, 07 Jun 2002 18:24:41 GMT
Thankyou.

Paul Stephenson
Supervisor PC Support
Network and Systems Administrator


-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca] 
Sent: Friday, June 07, 2002 1:22 PM
To: users@httpd.apache.org
Subject: Re: permissions for logs


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.


See:
http://httpd.apache.org/docs/misc/security_tips.html


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message