Detect file permission and ownership changes