Directory access limit question

Dan Shoop shoop at iwiring.net
Tue May 29 14:01:38 PDT 2007


At 10:58 AM -0500 5/29/07, John C. Welch wrote:
>On 5/29/07 10:15, "Richard Peskin" <rpeskin at rlpcon.com> wrote:
>
>>  I have encountered a server where user directory access is limited in
>>  the following sense. Instead of "/" referring to the actual root
>>  directory, "/" refers to the user's home directory. That is, when the
>>  user accesses (for example) "/somedir",  "somedir" is a directory
>>  found at the top level of the user's home directory, not a directory
>>  found under the real root.
>
>Under what protocol? Doing this, ("chroot") with things like AFP/SMB/FTP is
>trivial. With SSH, not so much. What kind of access are you specifically
>talking about?

Many things, like PHP, have concepts of basedir's, which aren't 
exactly chroots but do have a similar effect. / will refer to the 
root of the base, while there isn't actually a whole separate 
chroot'ed environment.
-- 

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
shoop at iwiring.net                                http://www.iwiring.net/
1-714-363-1174


More information about the MacOSX-admin mailing list