selinux
selinux copied to clipboard
[RFE] Ability to set selinux equivalencies
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