[Aide] Override an exclusion?

Chris Allen chrisa at matrixscience.com
Tue Dec 11 20:19:03 EET 2007


Hi,

There doesn't seem to be a way (or at least I haven't found one yet) in 
aide of saying "exclude everything *except* ..."; for example:

   !/home/[^/]+/.*
   /home/[^/]+/\.bash(rc|_profile)$ R
   / R

Or similarly:

   /home/[^/]+/\.bash(rc|_profile)$ R
   !/home
   / R

Neither of the above works, no matter what order you put the lines in, 
because aide always processes exclude rules *after* all other rules, 
even if the exclude rule is further up the tree.  So any child nodes of 
an exclude rule are effectively ignored.

Obviously you could try not using a default include everything (ie. 
discard "/ R") but that's not my point.

Am I missing a trick here?

Thanks,
Chris



More information about the Aide mailing list