How to retain default selinux context for apache log files ?
Issue
- How to retain default selinux context as
httpd_log_tfor apache log files without writing a new file context ? - Will selinux policy be overwritten after adding
allow httpd_t httpd_log_t:file { read }to the httpd_log_t type ?
Environment
- Red Hat Enterprise Linux 6.5
- Apache
- Selinux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
