httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] What controls permissions on log files?
Date Tue, 02 Aug 2005 13:25:37 GMT
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.


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

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message