security context on files and folders
Can someone explain security context for files and folders because I have been having an issue when upgrading some apps on my linux redhat server where it doesn't work and the only difference when i do a ls -Z is the security context. Also how can I change it and can someone explain the options.
Thanks, Steve |
What release are you running?
Do you user strict or targetted policy? What did you update? Are there any avc related messages in your syslog? Did you check out the audit2allow and fixfiles man pages? |
That's a rather big topic... There are thousands of articles on Google, and quite a few right here...
In a security-enhanced Linux system, the security context is what determines whether or not a particular operation is or is not allowed! Even root is subject to it! |
What I did was I was trying to create a new folder with files and set a new document root in Apache. Even though I used su to create that folder etc, Apache had a forbidden message. I went onto the server itself and created the folder and seemed to work fine. How can I change it if I am making doing something like that?
Thanks |
All times are GMT -5. The time now is 12:28 PM. |