Re: Permission changing for /var/log/httpd

2016-06-03 Thread Jonathan Billings
On Fri, Jun 03, 2016 at 08:02:21PM +, Yong Huang wrote: > If logrotate (as Mark suggested) did not do it, you can use > SystemTap to do this sort of things. There are sample scripts on the > Internet that monitor file permission change. > Maybe these >help:https://www.sourceware.org/systemtap/

Re: Permission changing for /var/log/httpd

2016-06-03 Thread Yong Huang
If logrotate (as Mark suggested) did not do it, you can use SystemTap to do this sort of things. There are sample scripts on the Internet that monitor file permission change. Maybe these help:https://www.sourceware.org/systemtap/SystemTap_Beginners_Guide/inodewatch2sect.html https://lwn.net/Arti

Re: Permission changing for /var/log/httpd

2016-06-03 Thread Tom Ekberg
That was a good guess, but the logrotate setting for httpd says: create 640 root adm The other 3 create lines in /etc/logrotate.d/ are for other log files. Tom Ekberg From: m.r...@5-cent.us To: "General Red Hat Linux discussion list" Subject: Re: Permission changing for /var/log/httpd Messag