Date: Sun, 10 Oct 1999 10:09:13 -0400 (EDT) From: jason <jason@welsh.dynip.com> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: cjclark@home.com, freebsd-questions@FreeBSD.ORG Subject: Re: hiding directories on ftp server Message-ID: <Pine.BSF.4.10.9910101005400.20409-100000@welsh.dynip.com> In-Reply-To: <75825.939550236@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
i must be doing something horribly wrong.. ive set the pub/leech dir to be chmod 100 any I can still see that directory from a windows98 machine running its dos ftp program... heres the ls -al from the dos box d-wx------ 2 root operator 512 Oct 8 21:33 leech I dont think I have my ftp user has root priveleges.. is this weird or am i just totally missing something? thanks for being patient with me.. ;) -- ======================================================================= | Jason Welsh jason@welsh.dynip.com | If you think there's | | | good in everybody, you | | http://welsh.dynip.com/ | haven't met everybody. | ======================================================================= On Sun, 10 Oct 1999, Sheldon Hearn wrote: > > > On Sat, 09 Oct 1999 15:56:27 -0400, jason wrote: > > > I wanted the directory to not be visible (as well as the files in it).. > > So apply your brain to the problem and take it one step further. :-) > > You already know that removing read permission on a directory makes its > contents invisible, right? So: > > cd /path/to/ftp/directory > mkdir arb > chmod 751 arb > mkdir arb/leech > chmod 751 arb/leech > > If your ftp users are in the group of the user creating these > directories, then you should use mode 711 instead of 751. > > Ciao, > Sheldon. > > PS: You could simplify the commands above, but I wanted to make sure you > understand what's happening. > 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.9910101005400.20409-100000>