[CentOS] Issues trying to change the selinux context

Wed May 8 20:47:54 UTC 2019
Jonathan Billings <billings at negate.org>

On Wed, May 08, 2019 at 01:04:02PM -0400, mark wrote:
> Hmmm, didn't complain when I did that... but they're still bin_t, not lib_t.

'semanage fcontext ...' updates the policy, but doesn't actually
change the context on the paths (which may or may not even exist at
the time the command runs).

Run 'restorecon -r -v /your/path/with/actual/files' to reassign the
selinux attributes to reflect the new fcontext policy.

Jonathan Billings <billings at negate.org>