Am 12.08.2015 um 14:27 schrieb Jonathan Billings <billings@xxxxxxxxxx>: > On Tue, Aug 11, 2015 at 12:59:58PM -0400, m.roth@xxxxxxxxx wrote: >> So, since I haven't yet found where /var/log/httpd is created, what would >> a default package make the ownership of the directory? Does it expect it >> to be apache:root? > > Just a data point: > > $ rpm -qp --qf='[%-11{filemodes:perms} %-8{fileusername} %-8{filegroupname} %{filenames}\n]' httpd-2.2.15-45.el6.x86_64.rpm | grep /var/log/httpd > > drwx------ root root /var/log/httpd httpd do not need access as apache user. the logging is done as "root" and for the inet interfaces privileges are dropped to apache: # LANG=C ls -la /var/log/httpd/ total 1380 drwx------ 2 root root 4096 Aug 9 04:02 . drwxr-xr-x 6 root root 4096 Aug 12 04:02 .. -rw-r--r-- 1 root root 149617 Aug 12 14:36 access_log -rw-r--r-- 1 root root 294039 Aug 9 04:00 access_log.1 -rw-r--r-- 1 root root 298025 Aug 2 04:00 access_log.2 -rw-r--r-- 1 root root 284032 Jul 26 03:59 access_log.3 -rw-r--r-- 1 root root 289967 Jul 19 03:59 access_log.4 -rw-r--r-- 1 root root 302 Aug 9 04:02 error_log -rw-r--r-- 1 root root 11430 Aug 9 04:02 error_log.1 -rw-r--r-- 1 root root 1898 Aug 2 04:02 error_log.2 -rw-r--r-- 1 root root 31327 Jul 26 04:02 error_log.3 -rw-r--r-- 1 root root 1896 Jul 19 04:02 error_log.4 -- LF _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos