From owner-freebsd-questions Wed Jan 9 15:11:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id F092937B41B for ; Wed, 9 Jan 2002 15:11:25 -0800 (PST) Received: from SAGEONE (adsl-64-219-30-200.dsl.crchtx.swbell.net [64.219.30.200]) by sage-american.com (8.9.3/8.9.3) with SMTP id RAA28958; Wed, 9 Jan 2002 17:11:19 -0600 (CST) Message-Id: <3.0.5.32.20020109171116.017ad250@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 09 Jan 2002 17:11:16 -0600 To: "Jim McIver" , freebsd-questions@FreeBSD.ORG From: jacks@sage-american.com Subject: Re: ftp upload rights In-Reply-To: <3C3C55E3.14749.A13AC9B@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jim: You'll need to compile the SUIDDIR option in your kernel and then create a write-only FTP site using the new FTPD "-o" option. This support has just been merged with 4.4-stable and was already in 4.4-current I believe. If you run man ftpd and don't see the "-o" option, you don't have it. At 02:38 PM 1.9.2002 -7, Jim McIver wrote: >I'm trying to setup FTP on a Freebsd server and control upload and >download rights for anonymous users and can't seem to come up with >the correct directory permissions for what I'd like. > >Off the default /ftp directory I create an /upload and /download >directory. The download is no problem as I just dup the rights on /pub >directory. This allows anyone to download, but not upload to the >directory. > >On the upload, I'd like anyone on the outside to be able upload a file >to the directory and see the file they have uploaded, but not be able to >delete it, or download it after they upload. I'll then try to NFS share >the directory's to local inhouse users on a lan so they can >copy/move/delete from both directories, but restrict outside >anonymous access. > >I've done it with (boo hiss) NT and Novell, but can't seem to hit on the >correct permissions to make it work with the FTP on Freebsd. > >Is this doable with Freebsd? > >Regards, > > > > >- >Jim McIver > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin =================================================== Sage-American http://www.sage-american.com jacks@sage-american.com "My center is giving way, my right is in retreat; ....situation excellent! ....I shall attack!" =================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message