LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   security context on files and folders (https://www.linuxquestions.org/questions/linux-newbie-8/security-context-on-files-and-folders-476817/)

sbabcock23 08-23-2006 10:29 PM

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

unSpawn 08-27-2006 08:17 AM

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?

sundialsvcs 08-27-2006 11:21 AM

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!

sbabcock23 08-28-2006 09:12 AM

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.