Re: Apache 2.4, NFS-mounted content, strict permissions & htaccess

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

 



Sander,

What options do you have set for the NFS mounts? Could it have something to do with a atime/noatime setup? I have not done NFS in a while so I am just throwing this out there.

Robert

On Thu, 20 Aug 2015 13:21:56 +0200
 Sander Smeenk <ssmeenk@xxxxxxxxxxxx> wrote:
Quoting Kurtis Rader (krader@xxxxxxxxxxxxx):

> Apache 2.4/mpm-itk fails to serve sites from this NFS setup. When i move > the site to local storage with exact same permissions it works fine. > Also, if i set +x bits on all parent directores on the NFS setup, it
> works.

When you tested with local storage did you also ensure the parent
directories did not have the "x" (execute/search) bit set?

Yeah, i made very sure the local storage had the same permissions.

See the paste i posted, esp. the https://8n1.org/10735/b28a part:

"[ .. ] I've traced the error to a call to ap_run_open_htaccess inside apache itself. getuid() returns 33 (www-data) right before this call, on
the local filesystem this call returns APR_ENOTDIR and on the remote
filesystem it returns APR_EACCES."


In UNIX like operating systems the "x" permission on a directory means
[..]

Thanks, but trust me, i know. ;-)


--
| I can can-can! Can you?
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7 FBD6 F3A9 9442 20CC 6CD2

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux