httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Apache 1.3.34 log file permission
Date Mon, 01 May 2006 16:51:32 GMT
On 5/1/06, Andrew Zeon <andzeon@au1.ibm.com> wrote:
>
>
>  Hi all,
>
> This question has probably been asked a thousand times before, but I cannot
> seem to get a straight answer.
>
> I have apache 1.3.34 installed on Solaris 8. Apache is run as root. The
> umask for root is 077 because of a security standard. Our logs (error and
> access logs) are being generated with the following permission:
>
> -rw-------   1 root     root
>
> I need this to be rwr--r--. What determines the permission of the log files?
> Is it the umask? I read in some forums about setting sticky bits to overcome
> this?

Adjust the umask as part of your apache startup script (apachectl).

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message