semanage syntax

Bruno Wolff III bruno at wolff.to
Fri Jul 12 15:51:27 UTC 2013


On Fri, Jul 12, 2013 at 11:41:39 -0400,
   m.roth at 5-cent.us wrote:
>Something I have not yet found while googling: we have a package (bloody
>CA idiots) that has a directory with *both* executables and libraries. I
>want to change only the .so's to textrel_shlib_t; I do not want to change
>the directory, or the executables. Pardon my ignorance of what I consider
>to be an obscure wildcard usage, but how do do this? I've tried
>semanage fcontext -a -t textrel_shlib_t
>"/usr/local/opt/smwa/webagent/bin/*.so"
>with and without parens around the asterisk, and around the last slash and
>the asterisk....

Did you run restorecon or fixfiles after that?


More information about the selinux mailing list