From owner-freebsd-questions Wed Feb 21 10:47:42 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA19297 for questions-outgoing; Wed, 21 Feb 1996 10:47:42 -0800 (PST) Received: from riley-net170-164.uoregon.edu (riley-net170-164.uoregon.edu [128.223.170.164]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA19289 for ; Wed, 21 Feb 1996 10:47:35 -0800 (PST) Received: (from dwhite@localhost) by riley-net170-164.uoregon.edu (8.6.12/8.6.12) id KAA04525; Wed, 21 Feb 1996 10:43:11 -0800 Date: Wed, 21 Feb 1996 10:43:11 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: jolp cc: questions@freebsd.com Subject: Re: Problems using FreeBSD for anonymous FTP In-Reply-To: <12a62400@peerlogic.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG Precedence: bulk On Tue, 20 Feb 1996, jolp wrote: > I ran through all of the Novice config on a host to set it up as an > Anonymous FTP server. Everything went smoothly, except I expected > that anonymous users would be able to write only to the incoming > (/usr/ftp/incoming) directory and not the pub (/usr/ftp/pub) > directory. The permissions on /usr/ftp/pub show "drwxrwxr-x for > owner=root and group=operator. You need to realign the ftp site so that it is owned by another user other than root. We created a user "ftpadmin" and a group "ftpadm" and chown'd the entire pub/ tree to him, and set up a nightly task to reset the owner back to ftpadmin and the permissions are to (what you have above, in any case). Add everyone who will be playing in the ftp site to group ftpad. Hope this helps. We just did this a few days ago, and I'm not 100% sure on the procedure. Doug White | University of Oregon Internet: dwhite@gladstone.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major