Score:0

How to give permission to open a log file in RHEL 8

tn flag

I am getting this error like

 SELinux is preventing /usr/sbin/httpd from open access on the file /var/log/error.log

what to do here? How can I allow access to this file? Any clue?

cn flag
There are lots of questions on SELinux: https://serverfault.com/search?q=selinux+context. What have you tried so far?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.