[CentOS] SELinux context not applied
Leonard den Ottolander
leonard at den.ottolander.nl
Mon Oct 17 13:26:16 UTC 2016
Hello Bernard,
On Mon, 2016-10-17 at 09:10 -0400, Bernard Fay wrote:
> I tried to apply a security context on a directory with the following
> commands:
>
> [root@ local]# semanage fcontext -a -t httpd_sys_rw_content_t "netdot(/.*)?"
> [root@ local]# restorecon -R netdot/
Try using absolute paths in your commands and see if that fixes your
issue.
Regards,
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
More information about the CentOS
mailing list