From owner-freebsd-questions Sat Oct 9 6:25:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.safepages.com (smtp.safepages.com [192.41.32.27]) by hub.freebsd.org (Postfix) with ESMTP id 7605C14ED7 for ; Sat, 9 Oct 1999 06:25:12 -0700 (PDT) (envelope-from jason@welsh.dynip.com) Received: from welsh.dynip.com (03-123.038.popsite.net [209.198.10.123]) by smtp.safepages.com (8.8.5) id HAA04693; Sat, 9 Oct 1999 07:25:11 -0600 (MDT) X-Authentication-Warning: smtp.safepages.com: Host 03-123.038.popsite.net [209.198.10.123] claimed to be welsh.dynip.com Received: (qmail 17287 invoked by uid 1000); 9 Oct 1999 13:24:36 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 Oct 1999 13:24:36 -0000 Date: Sat, 9 Oct 1999 09:24:36 -0400 (EDT) From: jason To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: hiding directories on ftp server In-Reply-To: <199910090324.XAA22744@cc942873-a.ewndsr1.nj.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ok, i did that , chmod /home/ftp/pub/leech (leech is the dir I want to hide) and when i ftp in with my cruddy dos ftp client (winblows 98) and do a ls in the pub dir, i can see it.. -rw-rw---- 1 root jason 3773144 May 26 02:26 Toto - Hold The Line.mp3 -rw-rw---- 1 root jason 2751762 Nov 11 1998 Warrant - Cherry Pie.mp3 -rw-rw---- 1 root jason 2648456 Jul 10 18:36 [Grass Roots, The] Let's Live For Today.mp3 dr-xr-x--x 2 root jason 512 Oct 9 01:33 leech <--**** -rw-rw---- 1 root jason 2651661 Jan 11 1999 men_without_hats_-_safetydance.mp3 any ideas? -- ======================================================================= | Jason Welsh jason@welsh.dynip.com | If you think there's | | | good in everybody, you | | http://welsh.dynip.com/ | haven't met everybody. | ======================================================================= On Fri, 8 Oct 1999, Crist J. Clark wrote: > jason wrote, > > can this be done with the default ftp server for FreeBSD 3.2 ?? > > what i want to do is have a directory under pub that users cannot see > > but can cd into and download stuff if i tell them the exact filename.. > > also, so that they cant see the directory or whats in it.. > > or would i need some other ftp daemon? > > Really has nothing to do with ftpd. > > On a directory, 'read' permission allows someone to 'ls' the > directory. 'Execute' permission alows people to get at files in the > directory. Just give it execute permission, e.g. 551, to the users and > they need a full pathname (or an intense dictionary atack) to get a a > file. > -- > Crist J. Clark cjclark@home.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message