How do I get SELinux to allow Apache and Samba on the same folder?

Posted by Josh on Server Fault See other posts from Server Fault or by Josh
Published on 2010-04-09T20:47:57Z Indexed on 2010/04/09 20:53 UTC
Read the original article Hit count: 528

Filed under:
|
|
|

In the configuration I have setup I wish to allow samba and apache to access /var/www I am able to set a context to allow samba access, but then httpd doesn't have access. Using setenforce to 0 eliminates issues so I know that it is SELinux.

In addition: How can I view the context of a folder, and can a folder have multiple contexts?

(CentOS)

Thank you, Josh

© Server Fault or respective owner

Related posts about selinux

Related posts about centos