Date: Wed, 9 Jan 2002 18:10:30 -0500 From: "Ron Hensley" <ronh@intercom.net> To: "Jim McIver" <jmciver@lmtribune.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: ftp upload rights Message-ID: <006101c19962$db04bc90$0273150a@woodstock.lanalyse.com> References: <3C3C55E3.14749.A13AC9B@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <Directory incoming/> <Limit STOR CWD> AllowAll </Limit> <Limit READ RMD DELE MKD> DenyAll </Limit> </Directory> Note it allows upload Via STORE and allows cd into with CWD however denies downloads and deletes etc. - ----- Original Message ----- From: "Jim McIver" <jmciver@lmtribune.com> To: <freebsd-questions@FreeBSD.ORG> 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 <http://www.pgp.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006101c19962$db04bc90$0273150a>