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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux