[CentOS] Help with httpd userdir recovery

Tue Dec 27 19:58:22 UTC 2016
Leonard den Ottolander <leonard at den.ottolander.nl>

Hello Robert,

On Tue, 2016-12-27 at 12:43 -0500, Robert Moskowitz wrote:
> My understanding (most likely flawed) is that Indexes are needed to see 
> the list of files in mydir,

Correct.

>  and to be able to walk down to subdir.

Incorrect. The index is a convenience. Without it directories with the
right permissions are still accessible with a direct url. So there's not
much point enabling indexes when you use an index file to avoid the
index showing up...

> restorecon -Rv /home

The man page for restorecon explicitly states it does not follow
symlinks, and it might not cross file system boundaries either, so make
sure they are not causing your issue.

> the owner is rgm:rgm, but the permissions is 755, not 711.

You have to make sure apache can access the whole path, meaning you need
at least o+x on all directories in the path. This is quite likely *not*
the case for /home/rgm.

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research