From owner-freebsd-questions Fri Sep 12 16:24:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA17725 for questions-outgoing; Fri, 12 Sep 1997 16:24:24 -0700 (PDT) Received: from caliban.dihelix.com (caliban.dihelix.com [198.180.136.138]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA17716; Fri, 12 Sep 1997 16:24:16 -0700 (PDT) Received: (from langfod@localhost) by caliban.dihelix.com (8.8.7/8.8.3) id NAA07029; Fri, 12 Sep 1997 13:24:12 -1000 (HST) Date: Fri, 12 Sep 1997 13:24:12 -1000 (HST) From: David Langford Message-Id: <199709122324.NAA07029@caliban.dihelix.com> To: questions@freebsd.org, isp@freebsd.org Subject: Hiding user directories without breaking ftp? Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am trying to get a system so that users can't "ls" other peoples home directories. The current problem is that this really breaks ftpd. It doesn't affect uploading to the directory, but when a user moves to a subdirectory and then tries to back out, it goes all the way to the server root directory. I set the dirs up like: drwxr-x--x 33 root nolist /u1 drwxr-x--x 33 root nolist /u1/u drwx--x--x 3 user user /u1/u/user PWD works like this. -r-xr-sr-x 1 bin nolist /bin/pwd Since ftpd setuid's the the incoming user then the getcwd() command doesnt work. I would like to figure out a way for getpwd() to work but break "ls". Thanks, -David Langford sysadmin@maui.net