Re: daemon user can't acess file while nobody user can.

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



On Tue, 7 Jun 2011 15:43:28 -0400
"Nicolas Ross" <rossnick-lists@xxxxxxxxxxx> wrote:

> I have a server where /home is on a nfs. I installed an apache (my compile) 
> server. By default, it runs as daemon. That user can't acces files in 
> /home/*/public_html, while the nobody user can. So if I change my apache 
> config, it now can.
> 
> /home is : drwxr-xr-x
> /home/user is : drwxr-xr-x
> /home/user/public_html is : drwxr-xr-x
> 
> selinux is disabled.
> 
> In the error log of apache I get :
> 
> (13)Permission denied: access to /~user/file.jpg denied

Looks like httpd is misconfigured and looking in the wrong place:
/~user/file.jpg probably should be ~user/file.jpg

... unless it's a typo


-- 
Bob Hepple <bhepple@xxxxxxxxxxx>
ph: 07-5584-5908 Fx: 07-5575-9550
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux