From owner-freebsd-questions Mon Jul 3 01:07:14 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA23709 for questions-outgoing; Mon, 3 Jul 1995 01:07:14 -0700 Received: from statler.csc.calpoly.edu (statler.csc.calpoly.edu [129.65.17.8]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA23703 for ; Mon, 3 Jul 1995 01:07:12 -0700 Received: (from nlawson@localhost) by statler.csc.calpoly.edu (8.6.12/N8) id BAA19924; Mon, 3 Jul 1995 01:03:49 -0700 From: Nathan Lawson Message-Id: <199507030803.BAA19924@statler.csc.calpoly.edu> Subject: Re: Any way to get hard links to directories? To: wsantee@wsantee.oz.net (Wes Santee) Date: Mon, 3 Jul 1995 01:03:49 -0700 (PDT) Cc: questions@freebsd.org In-Reply-To: <199506280304.UAA03277@wsantee.oz.net> from "Wes Santee" at Jun 27, 95 08:04:09 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 752 Sender: questions-owner@freebsd.org Precedence: bulk > 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 ---------------------