[CentOS] How to have more than on SELinux context on a directory
Александр Кириллов
nevis2us at infoline.su
Tue Jul 5 16:58:37 UTC 2016
> I need to have the tftpdir_rw_t and samba_share_t SELinux context
> on
> the same directory.
>
> How can we do this? Is it feasible to have more than one SELinux
> context?
I don't think it's possible/feasible.
You'd probably need to add a new type and necessary rules to your local
policy.
Or add missing allow rules to an existing type (tftpdir_rw_t or
samba_share_t).
Or use audit2allow to add necessary allow rules to an existing type.
Any of the above could be a major PITA.
More information about the CentOS
mailing list