Monitor or log directory permission changes?

Posted by Myles on Server Fault See other posts from Server Fault or by Myles
Published on 2012-10-03T15:52:57Z Indexed on 2012/10/07 15:39 UTC
Read the original article Hit count: 236

Filed under:
|
|
|
|

I'm having an issue with a cPanel shared server running CentOS 5 where a few directories under the public_html folder keep getting changed to 777 from 755. The customer says they are not changing it and i'm wondering if there is a way to monitor these specific directories to find out who/what is changing the permissions.

I have looked into using auditctl and after testing it and changing the permissions myself I don't see anything in the logs so i'm not sure if i'm doing it right or if it's even possible.

Does anybody have any suggestions or ideas on how I could figure out what is changing the permissions?

Thanks!!

© Server Fault or respective owner

Related posts about linux

Related posts about permissions