Mailing List Archive


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

Re: [tlug] Not seeing linked directory in localhost



On Mon, 24 Apr 2006 18:13:10 +0900
Dave M G <martin@example.com> wrote:

> But 755 was also suggested. I just now set my /home/dave directory to 
> 755, and now I can see the web_sites directory at localhost from within 
> FireFox.
> 
> My only question is... if the last number in the 3 number chmod set 
> represents "others", then why was this a problem? If I'm accessing the 
> /home/dave/web_sites directory from within the "dave" account, which 
> owns the directory, why was I denied access? Why did I have to grant 
> permissions to "others" in order to get access myself?

Apache is running as a user (www-data?). You could chgrp that directory
to apache2's user.

You can use `su www-data` to check if things work with apache2.

Attachment: signature.asc
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links