Date: Thu, 03 Apr 2008 12:30:39 -0400 From: Victor Farah <victor@netmediaservices.net> To: Mel <fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org Subject: Re: ftpd help Message-ID: <47F5062F.4070706@netmediaservices.net> In-Reply-To: <200804031815.23360.fbsd.questions@rachie.is-a-geek.net> References: <47F4F65E.3080007@netmediaservices.net> <200804031815.23360.fbsd.questions@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks This worked like a CHARM! This is very much appreciated! :) Mel wrote: > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47F5062F.4070706>