From owner-freebsd-questions Wed Jan 9 15:13:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from molly.intercom.net (molly.intercom.net [216.240.106.84]) by hub.freebsd.org (Postfix) with ESMTP id 317C137B405 for ; Wed, 9 Jan 2002 15:13:14 -0800 (PST) Received: from cross (hh1124095.direcpc.com [206.71.124.95]) by molly.intercom.net (8.12.1/8.12.1) with SMTP id g09NDehQ018546; Wed, 9 Jan 2002 18:13:42 -0500 (EST) Message-ID: <006101c19962$db04bc90$0273150a@woodstock.lanalyse.com> From: "Ron Hensley" To: "Jim McIver" , References: <3C3C55E3.14749.A13AC9B@localhost> Subject: Re: ftp upload rights Date: Wed, 9 Jan 2002 18:10:30 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I might suggest installing proftpd (/usr/ports/ftp/proftpd Its config file is a lot more customizable then the stock ftpd With it, you can do all those fancy things like allow upload/read but deny download/delete in a specific directory. Here's an example of how you do that with proftpd in the proftpd.conf file AllowAll DenyAll Note it allows upload Via STORE and allows cd into with CWD however denies downloads and deletes etc. - ----- Original Message ----- From: "Jim McIver" To: Sent: Wednesday, January 09, 2002 4:38 PM Subject: ftp upload rights > 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 > -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBPDzN5VFb04N5DzUjEQKgoQCfV7+0B9XwLCcex0DCt7oxmqynJBsAoOQJ 7ndgTbBcHMTt/TJMvrcgA8ZA =WpI2 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message