selinux icon indicating copy to clipboard operation
selinux copied to clipboard

[RFE] Ability to set selinux equivalencies

Open Klaas- opened this issue 4 years ago • 0 comments

Hi, I would like to be able to set fcontext equivalencies. From semanage-fcontext manpage:

       -e EQUAL, --equal EQUAL
              Substitute  target  path  with sourcepath when generating default label. This is used with fcontext. Requires source and target path arguments. The context labeling for the target
              subtree is made equivalent to that defined for the source.

       Substitute /home1 with /home when setting file context
       # semanage fcontext -a -e /home /home1

Klaas- avatar Feb 28 '20 09:02 Klaas-