Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 1995 01:03:49 -0700 (PDT)
From:      Nathan Lawson <nlawson@statler.csc.calpoly.edu>
To:        wsantee@wsantee.oz.net (Wes Santee)
Cc:        questions@freebsd.org
Subject:   Re: Any way to get hard links to directories?
Message-ID:  <199507030803.BAA19924@statler.csc.calpoly.edu>
In-Reply-To: <199506280304.UAA03277@wsantee.oz.net> from "Wes Santee" at Jun 27, 95 08:04:09 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> That said, anybody have any ideas on how to have the ftp daemon allow
> users who are logged in to see only their home (and below) directories
> without the ftp daemon losing access to the files it needs to operate?

I'd set up a directory tree like this:

/home1 -> bob/data
       -> bubba/data
       -> bin/ls
       -> usr/lib/libc_2.1.so

Make sure everything but the user dirs is owned by root.  Then, have ftpd 
chroot to /home1.

Also note that the wu-ftpd "group access" feature does exactly the same thing
as this.  Consider using it!

-- 
Nathan Lawson     \    Never let your schooling interfere with your education.
CSL 490/News Admin \
(805)756-7180 @Work \  "The steady state of disks is full."  -- Ken Thompson
---------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507030803.BAA19924>