[CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
Jonathan Billings
billings at negate.orgWed Dec 17 13:56:36 UTC 2014
- Previous message: [CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
- Next message: [CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Dec 17, 2014 at 11:07:06AM +0100, Patrick Bervoets wrote: > echo "/var/www/html/ -- unconfined_u:object_r:public_content_rw_t:s0" >> /etc/selinux/targeted/contexts/files/file_contexts Next time try putting the local policy into: /etc/selinux/targeted/contexts/files/file_contexts.local ... which isn't overwritten by package updates. This is what would have happened if you had used the 'semanage fcontext' command. -- Jonathan Billings <billings at negate.org>
- Previous message: [CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
- Next message: [CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list