I have disabled selinux with:

setenforce 0 
selinux=disabled

in /etc/selinux/config Does anyone knows if i have to label or chcon any dir to solve that error:

error [error] [client 127.0.0.1] (13)Permission denied: access to /index.php denied  

I'm running centOS6.

link|improve this question
feedback

migrated from stackoverflow.com Nov 7 '11 at 10:27

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 2 down vote accepted

Check file and directory permissions of this file and all parent directories. They need to typically be world readable.

Often times this happens if you put some files in a home directory, but the home dir is still at it's default of 700. Run chmod 755 /home/you to correct that.

link|improve this answer
thanks a lot :) – user846226 Aug 5 '11 at 17:06
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.