Date: Fri, 12 Sep 1997 13:24:12 -1000 (HST) From: David Langford <langfod@dihelix.com> To: questions@freebsd.org, isp@freebsd.org Subject: Hiding user directories without breaking ftp? Message-ID: <199709122324.NAA07029@caliban.dihelix.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709122324.NAA07029>