Re: Problem seeing directory outside of APACHE_HOME

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

 



On Feb 19, 2008 10:29 AM, David Bartmess
<dbartmess@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> The error log says:
>
> [Mon Feb 18 15:42:21 2008] [error] [client 163.185.56.153] 1) Can't open
> directory (/data/holding): Permission denied
>
> I'm wondering if this is because that mount (/data) is a NAS drive or
> something which Apache can't handle... I've changed the ownership of the
> holding directory and its contents to apache, chmod'd to 777, tried
> everything I know of...

I've never seen that exact error message. What OS are you using and
how are you mounting the drive?

But in any case, this is clearly the same issue as is discussed here:
http://wiki.apache.org/httpd/13PermissionDenied
It is not a question of Apache not being able to handle the drive, but
simply of your permissions being set such that the apache User/Group
doesn't have access. As mentioned on the wiki page, you need to check
not only /data/holding but also /data. If the User/Group specified in
httpd.conf doesn't have search permission (chmod +x) on that
directory, it can't get to the subdirectory.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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