From owner-freebsd-questions Sat Oct 9 9:11:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 39C3F14D3E for ; Sat, 9 Oct 1999 09:11:44 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id MAA25906; Sat, 9 Oct 1999 12:14:44 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199910091614.MAA25906@cc942873-a.ewndsr1.nj.home.com> Subject: Re: hiding directories on ftp server In-Reply-To: from jason at "Oct 9, 1999 09:24:36 am" To: jason@welsh.dynip.com (jason) Date: Sat, 9 Oct 1999 12:14:44 -0400 (EDT) Cc: cjclark@home.com, freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jason wrote, > 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? I thought that was what you wanted. They cannot 'ls' leech, but they can get items from it if they know the whole pathname. There is no way to make a single file disappear from the listing of a directory using the filesystem permissions. It may very well be possible to do with one of your more complicated ftpd servers... If you are willing to expose yourself to all of the security holes that those have been revealing as of late. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message