From owner-freebsd-questions Sat Dec 12 02:33:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA09583 for freebsd-questions-outgoing; Sat, 12 Dec 1998 02:33:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail01.redcentre.net (mail01.redcentre.net [203.43.52.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA09572 for ; Sat, 12 Dec 1998 02:33:13 -0800 (PST) (envelope-from marcus@redcentre.com) From: marcus@redcentre.com Received: from ws1 (ws1.redcentre.net [203.43.52.134]) by mail01.redcentre.net (8.8.8/8.8.8) with SMTP id UAA06197 for ; Sat, 12 Dec 1998 20:38:01 +1100 (EST) (envelope-from marcus@redcentre.com) Message-Id: <199812120938.UAA06197@mail01.redcentre.net> To: freebsd-questions@FreeBSD.ORG Date: Sat, 12 Dec 1998 21:35:16 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: ftp and Apache X-mailer: Pegasus Mail for Win32 (v3.01d) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I have a question about setting up ftp access for Apache virtual web sites. I imagine a document root structure something like this: /usr/local/www/user1 /usr/local/www/user2 and so on. I would like to provide user1 with ftp access to their directory, user2 to theirs (in a chroot environment) - how should the premissions and ownerships be set up for the various directories? Should /usr/local/www/user1 be writable by user1 or should there be a user1/pub type directory which becomes the user1 document root for Apache? (or is there a much better way of doing this?!). Thanks for your help, Marcus +61 3 9873 8656 +61 3 9720 7467 (fax) Email: Phone: +61 3 9720 7407 (B) Phone: +61 3 9874 5353 (P) Fax: +61 3 9720 7467 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message