From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 17:42:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D19C216A418 for ; Mon, 19 Nov 2007 17:42:56 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq2.groni1.gr.home.nl (smtpq2.groni1.gr.home.nl [213.51.130.201]) by mx1.freebsd.org (Postfix) with ESMTP id 86E7813C4B8 for ; Mon, 19 Nov 2007 17:42:55 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [213.51.130.190] (port=50005 helo=smtp1.groni1.gr.home.nl) by smtpq2.groni1.gr.home.nl with esmtp (Exim 4.30) id 1IuAdq-0006ly-3n; Mon, 19 Nov 2007 18:42:38 +0100 Received: from cp268254-a.landg1.lb.home.nl ([84.25.65.88]:4931 helo=ra.egypt.nl) by smtp1.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1IuAdp-0005RD-7s; Mon, 19 Nov 2007 18:42:38 +0100 Received: from www.boosten.org (localhost.egypt.nl [127.0.0.1]) by ra.egypt.nl (Postfix) with ESMTP id 95C3B39877; Mon, 19 Nov 2007 18:42:36 +0100 (CET) Received: from 192.168.13.35 (SquirrelMail authenticated user peter) by www.boosten.org with HTTP; Mon, 19 Nov 2007 18:42:36 +0100 (CET) Message-ID: <2580.192.168.13.35.1195494156.squirrel@www.boosten.org> In-Reply-To: <539c60b90711190935m4efdaf6ndecf5224271c24d1@mail.gmail.com> References: <539c60b90711190935m4efdaf6ndecf5224271c24d1@mail.gmail.com> Date: Mon, 19 Nov 2007 18:42:36 +0100 (CET) From: "Peter Boosten" To: stevefranks@ieee.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) Cc: User Questions Subject: Re: permissions for www acting strangely X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 17:42:56 -0000 On Mon, November 19, 2007 18:35, Steve Franks wrote: > Few weeks ago, I installed apache22. Just wanted to put up some > family photos. Whenever I tried to connect, got a "apache doesn't have > permisson to acess ~/. on this system or somesuch". The only way to ge= t > around it appeared to be a chmod 777 on my pic folder (no luck with 775= !). > Now I restored some stuff from a backup over my photos, > and now 777 won't work either. Is there something fundamental about > permissions I am totally missing? > Steve, I suppose ~/ is your html_public in your homedir, right? Apache runs as user www (and group www). So this user needs one way or th= e other access to the mentioned directory (read and execute =3D 5). Could it be that access is blocked on a higher level, say your homedir? Peter --=20 http://www.boosten.org