[CentOS] daemon user can't acess file while nobody user can.
Bob Hepple
bhepple at promptu.com
Wed Jun 8 23:48:40 UTC 2011
On Tue, 7 Jun 2011 15:43:28 -0400
"Nicolas Ross" <rossnick-lists at cybercat.ca> 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 at promptu.com>
ph: 07-5584-5908 Fx: 07-5575-9550
More information about the CentOS
mailing list