From owner-freebsd-questions Sun Oct 10 3:11:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 79AE3155DE for ; Sun, 10 Oct 1999 03:10:59 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.037 #1) id 11aFw4-000Jj0-00; Sun, 10 Oct 1999 12:10:36 +0200 From: Sheldon Hearn To: jason Cc: cjclark@home.com, freebsd-questions@FreeBSD.ORG Subject: Re: hiding directories on ftp server In-reply-to: Your message of "Sat, 09 Oct 1999 15:56:27 -0400." Date: Sun, 10 Oct 1999 12:10:36 +0200 Message-ID: <75825.939550236@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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