You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/08/03 15:18:36 UTC

DO NOT REPLY [Bug 35994] New: - How are log file permissions controlled?

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35994>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35994

           Summary: How are log file permissions controlled?
           Product: Apache httpd-1.3
           Version: HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: kzembowe@jhuccp.org


Sorry to use the bug tracking system for something that may not be a bug.

I just noticed a difference when I upgraded from the apache in Debian woody to 
sarge (1.3.33). I use a simple script to move the Apache log files to a new 
name and then gracefully restart the server, per the documentation. The newly 
created files used to be created with permissions -rw-r--r-- (644). Now, 
they're created -rw-r----- (640). 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'. The log files are 
created by the root user, who has a 'umask 022' in /root/.bashrc and none 
in /root/.profile.

I couldn't find any answers to this one the Apache documentation site, or in 
the archives of the apache user's list. I asked this question on the user's 
list, but it was not answered. Please forgive me if I overlooked something and 
point it out to me.

Was it deliberate to change the log file permissions from 644 to 640? Can 
anyone tell me how to set Apache so that newly created log files are '-rw-r--r--
'? Thanks for your help and advice.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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