Overriding default file contexts?

Ian Pilcher i.pilcher at comcast.net
Sat Apr 1 21:47:06 UTC 2006


Perhaps there's a way to do this, and I simply don't know it.

I just finished manually relabeling the Acrobat Reader libraries and
plug-ins.  Of course, if I ever have to relabel my filesystem, I'll have
to do this again.

Wouldn't it be nice if I could put file in a directory, .file_contexts
for example, give it a special context (file_context_t?) which would
never be changed, and specify contexts that would override the policy
default contexts.

It sure seems like this could save some pain.

-- 
========================================================================
Ian Pilcher                                        i.pilcher at comcast.net
========================================================================




More information about the selinux mailing list