From owner-freebsd-questions Mon Feb 16 11:36:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA03748 for freebsd-questions-outgoing; Mon, 16 Feb 1998 11:36:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA03635 for ; Mon, 16 Feb 1998 11:36:27 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id LAA10684; Mon, 16 Feb 1998 11:36:21 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 16 Feb 1998 11:36:21 -0800 (PST) From: Doug White Reply-To: Doug White To: Jonah Kuo cc: freebsd mailing list Subject: Re: symbol link for anonymous ftp user. In-Reply-To: <34E50104.C982078@mail.ttn.com.tw> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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