From owner-freebsd-questions Fri Oct 16 10:16:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA26275 for freebsd-questions-outgoing; Fri, 16 Oct 1998 10:16:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA26148 for ; Fri, 16 Oct 1998 10:15:54 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.05 #3) id 0zUD6N-0006Yb-00; Fri, 16 Oct 1998 17:51:43 +0100 Date: Fri, 16 Oct 1998 17:51:43 +0100 From: Ben Smithurst To: charlespeters@tecpro.com Cc: questions@FreeBSD.ORG Subject: Re: directory ownership, group name, and permissions required for web access Message-ID: <19981016175143.C25137@scientia.demon.co.uk> References: <000701bdf8ab$84875680$c8730418@ci1000971-d.sptnbrg1.sc.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <000701bdf8ab$84875680$c8730418@ci1000971-d.sptnbrg1.sc.home.com> User-Agent: Mutt/0.94.12i (FreeBSD 3.0-BETA i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Charles A. Peters wrote: > I have setup an FreeBSD server with apache 1.3.1 installed. > Almost everything works properly, except that I cannot browse to > the http://www.domain.com/~charles/ site. I'm sure that it is a > owner:group / permissions issue. What should these values be for the > /usr/home/charles/public_html directory? I don't think it matters, as long as the user your webserver running has search access to it. If you want it to be able to generate dir lists for folders with no index.html, they'll need read access too. > I would like to give a particular user, charles, access to my html root > data directory (ie: /usr/local/www/data) so that he may post changes > to that directory via ftp (remember: root cannot ftp into a server), > or is there a more appropriate way to handle this situation. You can either make it owned by charles, or make charles a member of the group who owns it (say "www") and make it group writable. Or some other way I haven't thought of. The latter scheme, using group-writable, may be more useful if more than one user need to put stuff in the html root. -- Ben Smithurst ben@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message