seLinux httpd_read_user_content help

 in

I am trying to get apache to access some PHP files and selinux keeps blocking me. It told me I need to set httpd_read_user_content to true. I did this and it worked. The problem is that setting this to true sounds a little dangerous, like it could cause security problems. Is there a way I can change the permissions on the folder that holds the php files, which is under apache's Document Root, so that I access them without setting httpd_read_user_content to true?

Thanks,
jfireball66

Owner

jfireball66's picture

By the way the owner of the file is set to apache:apache and I am running Fedora 12.