Apache oddity

Rick Stevens rstevens at vitalstream.com
Mon May 10 23:21:54 UTC 2004


 > Ok, I thought I'd toss this one out there as I'm having trouble
 > sorting it out.
 >
 > Configuration: FC1, 2.4.22-1.2188nptlsmp, 2GB, Apache 1.3.29/PHP 4.3.6
 > Weirdness: Everything is installed in /usr/local/test (including
 > libraries, configs, document roots, cgi-bin, the lot).  Apache runs
 > fine from there, serves pages and works perfectly.
 >
 > When the contents of /usr/local/test are copied to an NFS volume which
 > is then mounted at /usr/local/test, apache runs but will not serve
 > pages.  Apache's error log shows:

 > (13)Permission denied: access to / failed because search permissions
 > are missing on a component of the path

 > Again, the EXACT CODE is used (via a "cp -a").  Ownership and
 > permissions are fine (trust me, I've checked).  Has anyone seen this
 > behaviour?  Care to clue me in?  Is Fedora doing something, uh,
 > "special" in its NFS handling?  Apache's message is misleading at
 > best.

Weird.  I figured it out, but it sure doesn't make sense.  The
mountpoint was set 755, but the NFS mount wouldn't allow an unprivileged
user to traverse the tree.  If I unmounted it, changed the mountpoint to
777 and remounted, all is well.

Something doesn't smell right here...
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-        Brain:  The organ with which we think that we think.        -
----------------------------------------------------------------------





More information about the fedora-list mailing list