Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • What's the default include/exclude list (empty so nothing is included, I think)? If you include /a, exclude /a/b and include /a/b/c, is /a/b/c watched? Does including a directory always include its contents? Commented May 25, 2011 at 22:32
  • @Gilles It doesn't know anything about directories, it just takes the complete absolute path and matches it against the regular expression. So <include extension="/a" uid="*" action=".*" retname=".*" /> is going to match every operation that operates on a file whose path contains /a -- it could even be /foo/abc/bar. You probably want to anchor them all with ^ and $, but then you need to include the entire path for it to match Commented May 25, 2011 at 22:37
  • @Gilles Not having any rules is actually a special case, so I'll add it to the answer Commented May 25, 2011 at 22:38