Date: Sat, 9 Oct 1999 09:24:36 -0400 (EDT) From: jason <jason@welsh.dynip.com> To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: hiding directories on ftp server Message-ID: <Pine.BSF.4.10.9910090920310.17229-100000@welsh.dynip.com> In-Reply-To: <199910090324.XAA22744@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910090920310.17229-100000>