[CentOS] Custom SELinux file contexts?

Daniel de Kok me at danieldk.org
Mon Apr 14 15:22:32 UTC 2008


On Mon, Apr 14, 2008 at 5:05 PM, Ingemar Nilsson <init at kth.se> wrote:
>  but rather put one or more similar files somewhere. A file_contexts.d
> firectory would be nice, but it isn't available. Just creating your own
> file_contexts.local file does not work, I already tried.

/etc/selinux/targeted/contexts/files/file_contexts.local works fine
for me. Did you use restorecon afterwards to relabel the relevant
files/directories?

-- Daniel



More information about the CentOS mailing list