[Thincrust-devel] [Fwd: [Ovirt-devel] [PATCH] Add additional blacklisting and rpm removal to managed node]

David Lutterkort dlutter at redhat.com
Wed Jul 2 18:08:45 UTC 2008


On Tue, 2008-07-01 at 09:40 -0400, Perry N. Myers wrote:
> > Question.. can you whitelist a directory?
> 
> I think you want to allow whitelisting of directories.

I agree, but you'll have to be careful to handle intermediate
directories right:

        drop /foo
        dir /foo/bar/baz
        
means that, implicitly, /foo/bar is also on the whitelist.

> But, if you allow whitelisting of directories, is the WL recursive?
> Maybe 
> there needs to be a different parameter to indicate that sort of stuff... 
>   Recursiveness also will come into play with the blacklisting directives 
> as well.

Might be cleanest to build that into the syntax for paths, e.g.
following rsync's syntax use '*' to mean 'one component in a path, and
'**' to mean 'any number of path components'

David





More information about the Thincrust-devel mailing list