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

Re: Re: Re: [LTSP] The home pages are not available at the address http://www/~username/



Hi Yannick,


yannick rousseau schreef op ma 16-01-2017 om 09:07 [-0400]:
> Hello
> 
> 
> I did what Wolfgang suggested: 

> => But I doesn't work:
>  You don't have permission to access /~tt/ on this server
> and: 
> # grep tt /var/log/apache2/error.log                                                                                    
> [Mon Jan 16 08:54:01.190221 2017] [core:error] [pid 23725] (13)Permission denied: [client 10.0.16.23:59678]
>  AH00035: access to /~peperu denied (filesystem path '/skole/tjener/home0/tt/public_html') 
> because search permissions are missing on a component of the path 

You've almost managed to solve your problem.
The only remaining issue seems to be a directory in your path having to
restrictive permissions.
See https://wiki.apache.org/httpd/13PermissionDenied for some
clarification.

A possible reason in your case may be that tt is the home directory of
the so called "first user". It's permission is typically set to 700.
Quoting https://wiki.debian.org/DebianEdu/Documentation/Jessie/AllInOne:

"During installation of the main server a first user account was
created. In the following text this account will be referenced as "first
user". This account is special, as there's no Samba account (can be
added via GOsa²), the home directory permission is set to 700 (so chmod
o+x ~ is needed to make personal web pages accessible), and the first
user can use sudo to become root."

Another possible reason may be a to restrictive umask setting
in /etc/pam.d/common-session. See "3.2.2. File system access
configuration" in
https://wiki.debian.org/DebianEdu/Documentation/Jessie/AllInOne.


-- 
Cheers,
Frans

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: