Re: [CentOS] C7 apache file access

2015-12-23 Thread Robert Moskowitz
On 12/24/2015 01:08 AM, Gordon Messmer wrote: On 12/23/2015 11:15 AM, Robert Moskowitz wrote: Wiaht is this httpd_user_content_t? That is an selinux context which httpd is allowed to access. It is defined as the label for files matching the regex /home/[^/]*/((www)|(web)|(public_html))(/.

Re: [CentOS] C7 apache file access

2015-12-23 Thread Gordon Messmer
On 12/23/2015 11:15 AM, Robert Moskowitz wrote: Wiaht is this httpd_user_content_t? That is an selinux context which httpd is allowed to access. It is defined as the label for files matching the regex /home/[^/]*/((www)|(web)|(public_html))(/.+)? in /etc/selinux/targeted/contexts/files/ "

Re: [CentOS] C7 apache file access

2015-12-23 Thread Robert Moskowitz
On 12/23/2015 03:26 PM, John R Pierce wrote: On 12/23/2015 12:05 PM, Robert Moskowitz wrote: If SELinux is working, then do setsebool -P httpd_enable_homedirs on Did not help. in messages I see: Dec 23 14:54:04 medon dbus-daemon: dbus[444]: avc: received policyload notice (seqno=3) De

Re: [CentOS] C7 apache file access

2015-12-23 Thread John R Pierce
On 12/23/2015 12:05 PM, Robert Moskowitz wrote: If SELinux is working, then do setsebool -P httpd_enable_homedirs on Did not help. in messages I see: Dec 23 14:54:04 medon dbus-daemon: dbus[444]: avc: received policyload notice (seqno=3) Dec 23 14:54:04 medon dbus[444]: avc: received po

Re: [CentOS] C7 apache file access

2015-12-23 Thread Robert Moskowitz
On 12/23/2015 02:36 PM, Paul Heinlein wrote: On Wed, 23 Dec 2015, Robert Moskowitz wrote: Pulling out what little hair I have here, but stumbled onto a possible problem. I have a server running C6 apache that is set up with personal directories and no problem showing the files. You can s

Re: [CentOS] C7 apache file access

2015-12-23 Thread Paul Heinlein
On Wed, 23 Dec 2015, Robert Moskowitz wrote: Pulling out what little hair I have here, but stumbled onto a possible problem. I have a server running C6 apache that is set up with personal directories and no problem showing the files. You can see it at: medon.htt-consult.com/~rgm/pogo So I

[CentOS] C7 apache file access

2015-12-23 Thread Robert Moskowitz
Pulling out what little hair I have here, but stumbled onto a possible problem. I have a server running C6 apache that is set up with personal directories and no problem showing the files. You can see it at: medon.htt-consult.com/~rgm/pogo So I have a C7 apache server I am building. Files I