Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 1995 21:20:17 -0400
From:      Gene Stark <gene@starkhome.cs.sunysb.edu>
To:        Wes Santee <wsantee.oz.net!wsantee@sbstark.cs.sunysb.edu>
Cc:        questions@freebsd.org
Subject:   Re: Any way to get hard links to directories?
Message-ID:  <199506290120.VAA14660@starkhome.cs.sunysb.edu>
In-Reply-To: Wes Santee's message of Tue, 27 Jun 1995 20:04:09 -0700 (PDT)
References:  <3sr54q$d0d@starkhome.cs.sunysb.edu>

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?

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



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