semanage syntax

m.roth at 5-cent.us m.roth at 5-cent.us
Fri Jul 12 15:41:39 UTC 2013


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....

      mark




More information about the selinux mailing list