https://bz.apache.org/bugzilla/show_bug.cgi?id=69677

            Bug ID: 69677
           Summary: Log file access
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
          Assignee: bugs@httpd.apache.org
          Reporter: robert.fet...@verizon.net
  Target Milestone: ---

`I am running MX Linux which is based on Debian.

To let me see the error.log file I have set an ACL as follows:
  cd /var/log/apache2
  setfacl  -m o:r .

After deleting all the files in the above directory I restart the system.

After restarting the directory has:
$ls =l

total 12
-rw-r--r-- 1 root root  79 May  9 14:34 access.log
-rw-r--r-- 1 root root 270 May  9 14:30 error.log
-rw-r--r-- 1 root root   0 May  9 14:30 other_vhosts_access.log

Great. The ACL was applied.

However after a while log files rollover occurs. When this happens things are
as follows:

$ls -l

total 32
-rw-r----- 1 root adm  6013 May 10 11:10 access.log
-rw-r--r-- 1 root root 9031 May  9 15:20 access.log.1
-rw-r----- 1 root adm  1843 May 10 11:10 error.log
-rw-r--r-- 1 root root 2048 May  9 15:30 error.log.1
-rw-r--r-- 1 root root    0 May  9 14:30 other_vhosts_access.log

Note the permissions on the new error.log and access.log files. The ACL
setting is no longer there.

The only thing I can think of is that there are calls to chmod(2) with
permissions of 600 being set. But in any case, this is an issue.

Can it be addressed?

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to