From owner-freebsd-questions Thu Jun 29 01:46:37 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA17427 for questions-outgoing; Thu, 29 Jun 1995 01:46:37 -0700 Received: from sbstark.cs.sunysb.edu (sbstark.cs.sunysb.edu [130.245.1.47]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA17420 for ; Thu, 29 Jun 1995 01:46:34 -0700 Received: (from root@localhost) by sbstark.cs.sunysb.edu (8.6.12/8.6.9) with UUCP id EAA02624 for questions@freebsd.org; Thu, 29 Jun 1995 04:45:07 -0400 Received: (from gene@localhost) by starkhome.cs.sunysb.edu (8.6.11/8.6.9) id VAA14660; Wed, 28 Jun 1995 21:20:17 -0400 Date: Wed, 28 Jun 1995 21:20:17 -0400 From: Gene Stark Message-Id: <199506290120.VAA14660@starkhome.cs.sunysb.edu> To: Wes Santee Cc: questions@freebsd.org In-reply-to: Wes Santee's message of Tue, 27 Jun 1995 20:04:09 -0700 (PDT) Subject: Re: Any way to get hard links to directories? References: <3sr54q$d0d@starkhome.cs.sunysb.edu> 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? Depends on what you mean by "see", but why don't you make each user's directory mode 700, owned by them, and make all higher-level directories mode 711 (read/write/execute by root, execute only for group and world). This way nobody but root will be able to list any directories, but they'll still be able to open files and execute binaries in them, if they know the paths. - Gene Stark