[CentOS] C7 apache file access

Wed Dec 23 19:36:14 UTC 2015
Paul Heinlein <heinlein at madboa.com>

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 have a C7 apache server I am building.  Files I create on the new server 
> are listing fine.  Files I have copied (with cp -avr ...) get permission 
> error e.g.:
>
> [Wed Dec 23 12:32:49.359323 2015] [negotiation:error] [pid 3208] 
> (13)Permission denied: [client 192.168.160.20:38708] AH00686: cannot read 
> directory for multi: /home/rgm/public_html/biby/

If SELinux is working, then do

   setsebool -P httpd_enable_homedirs on

-- 
Paul Heinlein
heinlein at madboa.com
45°38' N, 122°6' W