You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by KEVIN ZEMBOWER <KZ...@jhuccp.org> on 2005/08/02 15:25:37 UTC

[users@httpd] What controls permissions on log files?

I just noticed a difference when I upgraded from the apache in Debian
woody to sarge. I use a simple script to move the Apache log files to a
new name and then gracefully restart the server. The newly created files
used to be created with permissions -rw-r--r--. Now, they're created
-rw-r-----. I'd like to go back to -rw-r--r--, but can't find where the
default permissions are set for newly created log file. The permissions
for the log file directory are drwxr-xr-x. There's no .profile for the
Apache user, and the /etc/profile contains 'umask 002'.

I couldn't find any answers to this one the Apache documentation site,
or in the archives of this list. Please forgive me if I overlooked
something and point it out to me.

Can anyone tell me how to set Apache so that newly created log files
are '-rw-r--r--'? Thanks for your help and advice.

-Kevin


-----
E. Kevin Zembower
Internet Systems Group manager
Johns Hopkins University
Bloomberg School of Public Health
Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD  21202
410-659-6139

---------------------------------------------------------------------
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