Displaying 1 result from an estimated 1 matches for "some_domain_t".
Did you mean:
some_domain
2012 Sep 09
2
Question: Custom puppet type for semanage, converting inputs to flags?
...I''m just trying to get an idea about the best way to implement this:
I want a type that uses the ''semanage'' binary to manage targeted policy (in
this case for files).
So for example to create a targeted policy, I might do something like:
semanage fcontext -a -f -d -t some_domain_t "/path/to/files(/.*)?"
... which would add a target policy that sets ''some_domain_t'' on all
directories in "/path/to/files/"
The question I have is about the "-d", which is a parameter to "-f", that
directs policy to only cover directori...