Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 1998 11:36:21 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Jonah Kuo <jonahkuo@mail.ttn.com.tw>
Cc:        freebsd mailing list <questions@FreeBSD.ORG>
Subject:   Re: symbol link for anonymous ftp user.
Message-ID:  <Pine.BSF.3.96.980216113508.10577N-100000@gdi.uoregon.edu>
In-Reply-To: <34E50104.C982078@mail.ttn.com.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Feb 1998, Jonah Kuo wrote:

>     I want to share some data with my colleagues, so I
> link -s /usr/local/data /usr/ftp/data
>     but they can only see the /data in ftp directory and there's nothing
> further
> in /data. Is there anybody knows how this can be done?

Anonymous logins on ftp chroot() the environmetn to /usr/ftp, so the
system can't see anything else.  You should copy your data into the ftp
userspace and not use a hardlink since that will create a hole in the
protection.  Softlinks won't work since / has been redefined; as far as
the ftp server is concerned, / is what /usr/ftp/ is in the normal space.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980216113508.10577N-100000>