From owner-freebsd-questions Thu Feb 18 16:32:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cartman.weeble.nws.net (ubppp233-162.dialin.buffalo.edu [128.205.233.162]) by hub.freebsd.org (Postfix) with ESMTP id F331811BAE for ; Thu, 18 Feb 1999 16:32:19 -0800 (PST) (envelope-from cjm2@earthling.net) Received: from maxpower (cjm2@[10.0.0.10]) by cartman.weeble.nws.net (8.8.8/8.8.8) with SMTP id SAA23186; Thu, 18 Feb 1999 18:57:55 -0500 (EST) (envelope-from cjm2@earthling.net) From: "Christopher J. Michaels" To: "'robert'" , "'freebsd list'" Subject: RE: ftp and symbolic links Date: Thu, 18 Feb 1999 18:57:28 -0500 Message-ID: <000501be5b9a$71884600$0a00000a@maxpower.weeble.nws.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 In-Reply-To: <36CCA3C8.70286012@mhi-tx.com> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am assuming this is a problem with anonymous ftp access. Since the anonymous login is chroot(8)'d to /usr/ftp, the symbolic link won't work when pointing to a directory outside of the /usr/ftp dir. As far as the ftp process is concerned /usr/ftp becomes it's root (/) directory and anything not directly under /usr/ftp doesn't exist If someone else knows a way around this, hopefully they will let you know. The only solution I can think of would be to make the mount point of the CD-ROM something under the /usr/ftp directory (e.g. /usr/ftp/pub/cdrom) and make /cdrom a symlink to the new mount point. (swap what you are doing now). -Chris -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of robert Sent: Thursday, February 18, 1999 6:36 PM To: freebsd list Subject: ftp and symbolic links Hello, I made a symbolic link to my /cdrom filesystem in the /usr/ftp/pub directory... but when I anonymous ftp I cannot change into the cdrom directory(ie the symlink) the permissions are r-xr-xr-x. Is there something I am missing? It just says file not found.. (the cdrom is mounted) any suggestions would be greatly appreciated. please email direct as I am not currently subscribed to the list thanks in advance. Robert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message