From owner-freebsd-questions Thu Feb 21 13:53:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 119FA37B402 for ; Thu, 21 Feb 2002 13:53:43 -0800 (PST) Received: (qmail 70779 invoked by uid 100); 21 Feb 2002 21:53:42 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15477.27749.430608.763121@guru.mired.org> Date: Thu, 21 Feb 2002 15:53:41 -0600 To: Chip Wiegand Cc: questions@freebsd.org Subject: Re: correct permissions for download only ftp In-Reply-To: <80407003@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.46 (Python 2.2; freebsd-4.5-STABLE-i386) 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 Chip Wiegand types: > I want to set up a download only ftp site for my son's friends to > download his mp3's, midi's etc. I am trying to get the permissions > correct for the pub directory. I can make it so no one can upload or > download, or make it so no one can download, but haven't got it so no > one can upload. Yet I want it so my son can copy files from his computer > into the pub directory. Just what chmod format would I use for this? It needs to be mode 755, and owned by the login id your son is using to log onto the FTP server. His friends will have to use a different id, or an anonymous logon. If you're running a firewall, you'll find that FTP is a PITA to deal with. sftp doesn't have those problems. There's a nice free windows sftp client at . http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message