Greg Lopp on 27 Jul 2006 15:45:21 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Apache problem


Chad Waters wrote:
On 7/27/06, Greg Lopp  wrote:

The strace suggests that this is a simple file permissions problem, but
I don't understand why it would get that EACCES failure. What am I missing?

Have you looked at the SELinux policy?

http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/


This is *usually* the culprit.
Bingo.
Edited /etc/selinux/config, restarted....
$sestatus
SELinux status:         disabled

lstat64("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/greg", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/greg/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0


....and it's serving pages, files and indexes as expected.

thank you
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug