Re[4]: [OpenAFS] permissions, symbolic links, ftp

Derrick J Brashear shadow@dementia.org
Thu, 8 Jan 2004 12:43:50 -0500 (EST)


On Thu, 8 Jan 2004, Ron Croonenberg wrote:

> I noticed something ....
>
> When I cd to the root of the file system ("/") in ftp I end up in the user
> directory /home/otheruser  when logged in as user.
>
> when I try to cd to /home/user (or a link to /home/user) it says that file
> doesn't exist. (amnd that is correct because it is trrying to cd to
> /home/otheruser/home/user  and that doesn't exist.
>
> So it looks like I can't go any higher (or is it lower) up the tree then the
> homedirectory of the user I am logged into with ftp. When I  log in with a shell
> I can go to the root of the filesystem and cd to another users directory.
>
> question is, why  can I go to the root of the filesystem when I log in but I
> can't when I log in with ftp.
> Is that an AFS permissions thing ?  or is it an ftp thing ? (meaning ftp doesn't
> even know there is anything below the users home directory ?)

I would expect it to be something the ftpd did, namely, chroot to the
user's home directory.