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.

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Upcoming Webinar
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
11am CDT, April 29th
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot