Date: Wed, 09 Jan 2002 17:11:16 -0600 From: jacks@sage-american.com To: "Jim McIver" <jmciver@lmtribune.com>, freebsd-questions@FreeBSD.ORG Subject: Re: ftp upload rights Message-ID: <3.0.5.32.20020109171116.017ad250@mail.sage-american.com> In-Reply-To: <3C3C55E3.14749.A13AC9B@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020109171116.017ad250>