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.

Free Dummies Books
Continuous Engineering

Learn:

  • What continuous engineering is
  • How to continuously improve complex product designs
  • How to anticipate and respond to markets and clients
  • How to get the most out of your engineering resources

Get your free book now

Sponsored by IBM

Free Dummies Books
Service Virtualization

Learn to:

  • Define service virtualization
  • Select the most beneficial services to virtualize
  • Improve your traditional approach to testing
  • Deliver higher-quality software faster

Get your free book now

Sponsored by IBM