Hi Ronan,
All the user dirs in /home/ are drwxr-x---
If that was the problem then it would affect the other users as well.
//Ger
--
Gerard Hooton.
Department of Electrical & Electronic Engineering
University College Cork.
College Road.
Cork.
Tel: +353 21 4902296
-----Original Message-----
From: Ronan Mullally <ronan at iol.ie>
To: Ger Hooton <g.hooton at ucc.ie>
Subject: Re: [ILUG] Apache problem
Date: Thu, 3 Feb 2011 13:30:41 +0000 (GMT)
Mailer: Alpine 2.00 (DEB 1167 2008-08-23)
On Thu, 3 Feb 2011, Ger Hooton wrote:
> I have configures Apache so the the server users can have their own web
> pages like http://www.server.ie/~<user>
> It all works well for everyone except for just one user
> In the log I see Permission denied: access to /~user denied
> I have chmod -R 777 [yes, a very bad thing to do] the users home dir for
> a short time, but that has not solved the problem.
> Because this works for every other user, I think my Apache config is OK.
> any ideas?
Check the permissions on the directories further up the tree. The user's
home directory may be 777 (shame on you), but the parent directory might
be 700. All the directories down to the home directory need to at least
have 'x' permission for the apache process.
-Ronan
> --
> Gerard Hooton.
> Department of Electrical & Electronic Engineering
> University College Cork.
> College Road.
> Cork.
>> Tel: +353 21 4902296
>>>> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!