From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 15:23:24 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 98349106566B for ; Thu, 3 Apr 2008 15:23:24 +0000 (UTC) (envelope-from victor@netmediaservices.net) Received: from fep3.cogeco.net (smtp2.cogeco.ca [216.221.81.29]) by mx1.freebsd.org (Postfix) with ESMTP id 723298FC0C for ; Thu, 3 Apr 2008 15:23:24 +0000 (UTC) (envelope-from victor@netmediaservices.net) Received: from [127.0.0.1] (d221-71-130.commercial.cgocable.net [216.221.71.130]) by fep3.cogeco.net (Postfix) with ESMTP id 0B9DC3531 for ; Thu, 3 Apr 2008 11:23:20 -0400 (EDT) Message-ID: <47F4F65E.3080007@netmediaservices.net> Date: Thu, 03 Apr 2008 11:23:10 -0400 From: Victor Farah User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080402-0, 04/02/2008), Outbound message X-Antivirus-Status: Clean Subject: 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 15:23:24 -0000 Hey 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. I also made this person a home directory: /usr/home/personX/. I then made the symlinks to the two directories they need to access. After all that setup I went into my /etc/ftpchroot file and added the following line: personX saved and I try to log on to test to see if it is locked in the home directory but has access to the two other directories they need. Does work, is there anyway to do this with the default ftpd package that comes with this?