[CentOS] SELinux context not applied

Mon Oct 17 13:27:51 UTC 2016
Bernard Fay <bernard.fay at gmail.com>

Our emails crossed on the line!  ;-)

Thanks anway Leonard,


On Mon, Oct 17, 2016 at 9:26 AM, Leonard den Ottolander <
leonard at den.ottolander.nl> wrote:

> 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
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>