[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Overriding default file contexts?
- From: Stephen Smalley <sds tycho nsa gov>
- To: Ian Pilcher <i pilcher comcast net>
- Cc: fedora-selinux-list redhat com
- Subject: Re: Overriding default file contexts?
- Date: Mon, 03 Apr 2006 10:36:49 -0400
On Mon, 2006-04-03 at 08:51 -0500, Ian Pilcher wrote:
> Paul Howarth wrote:
> >
> > You can do this with semanage (FC5) rather than a separate file.
> >
> > # semanage fcontext -a -t textrel_shlib_t '/path/to/acroread/lib.*'
> >
>
> After testing that command with one of the Acrobat libraries,
> 'restorecon -nv ...' still wants to change its type back to lib_t. So
> it doesn't appear to be any more permanent that chcon.
Hmmm...it should be.
# tail -1 /etc/selinux/targeted/contexts/files/file_contexts
# cat /etc/selinux/targeted/modules/active/file_contexts.local
--
Stephen Smalley
National Security Agency
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]