[CentOS] Serious Privileges Problem: Second Post!

mark m.roth at 5-cent.us
Sat Nov 7 16:38:56 UTC 2009


Les Mikesell wrote:
> Victor Subervi wrote:
>>
>> fixfiles relabel /var/www/html
>> # might just work
>> It didn't
>>
>> touch /.autorelabel
>> # and then reboot will relabel all copied files to the correct contexts 
>> for the location
>> I rebooted apache with no luck
>>
>> or you could turn off SELinux and reboot
>> I did that and the following two solutions with no luck:
>> echo 0 >/selinux/enforce
> 
> What do you mean by 'rebooted apache'?  You have to reboot the whole machine to 
> change selinlux settings.
> 
No, you don't. Either the echo, or the setenforce command will change it.

	mark

-- 
An answer to gun nuts (2):"Have you ever been in a pub where everyone goes 
armed? Oh, things are a little polite at first, ... then some twerp drinks out 
of the wrong mug or picks up someone else's change by mistake and five minutes 
later you're picking noses out of the beer nuts-" - Commander Vimes "Jingo", 
Terry Pratchett


More information about the CentOS mailing list