From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 16:15:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2181106567A for ; Thu, 3 Apr 2008 16:15:27 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2098FC47 for ; Thu, 3 Apr 2008 16:15:27 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id C05921CC91; Thu, 3 Apr 2008 08:15:26 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 3 Apr 2008 18:15:19 +0200 User-Agent: KMail/1.9.7 References: <47F4F65E.3080007@netmediaservices.net> In-Reply-To: <47F4F65E.3080007@netmediaservices.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804031815.23360.fbsd.questions@rachie.is-a-geek.net> Cc: Victor Farah Subject: Re: ftpd help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2008 16:15:34 -0000 On Thursday 03 April 2008 17:23:10 Victor Farah wrote: > I have a default install of freebsd 6.2, and I enable ftpd in inetd. > That all works nicely, I add a user to the system that needs to access > ONLY two directories that are in two different places. > For example: /usr/local/www/dir1 and /usr/local/www/dir2/ > > There are many directories in /usr/local/www/ that this person SHOULD > not have access too. mkdir /home/personX/dir1 /home/personX/dir2 mount -t nullfs /usr/local/www/dir1 /home/personX/dir1 mount -t nullfs /usr/local/www/dir2 /home/personX/dir2 Done. You can also add '-o ro' if the user isn't allowed to make changes to the directories. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.