Ignore:
Timestamp:
Feb 27, 2013, 10:07:41 AM (12 years ago)
Author:
adehnert
Message:
Correctly set mode of suexec.log

Historically, suexec.log has been rolled with error_log, and thus the
permissions have matched. However, suexec.log is considered too private for
logview@ to be able to read. We've handled this by making /var/log/httpd/
readable only by root, but by fixing suexec.log's permissions we eliminate the
possibility of it being readable by some sort of subtle trick, and also open
the way to making /var/log/httpd/ more broadly readable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/logrotate.d/httpd

    r1800 r2379  
    1 /var/log/httpd/*.log /home/logview/*log {
     1/home/logview/*log {
    22    rotate 0
    33    daily
     
    99        /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
    1010    endscript
     11}
     12
     13/var/log/httpd/suexec.log {
     14    rotate 0
     15    daily
     16    missingok
     17    notifempty
     18    create 600 root root
     19    # No HUP, because suexec doesn't open this log persistently.
    1120}
    1221
Note: See TracChangeset for help on using the changeset viewer.