[CentOS] Inotify or equivalent

Joseph L. Casale

JCasale at activenetwerx.com
Fri May 1 19:05:11 UTC 2009


I installed inotify and incrond to watch a directory and set the
job as '/mnt/dir IN_ATTRIB chmod 0660 $@/$#' which worked very well
except that as expected, IN_ATTRIB is to broad of a watch class as it
caused an enormous amount of contention with the filemonitor and/or
db server and the client side app was less than happy. Not to mention
top showed it working away like mad...

Is there any way to look for permission changes only, or something else
that might work?

Thanks!
jlc



More information about the CentOS mailing list