From owner-freebsd-questions Thu Feb 18 17:43:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id C0C5A11773 for ; Thu, 18 Feb 1999 17:38:14 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.11 #1) id 10DeZA-000DWV-00; Fri, 19 Feb 1999 01:17:16 +0000 Date: Fri, 19 Feb 1999 01:17:16 +0000 From: Ben Smithurst To: robert Cc: freebsd list Subject: Re: ftp and symbolic links Message-ID: <19990219011716.A51859@scientia.demon.co.uk> References: <36CCA3C8.70286012@mhi-tx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36CCA3C8.70286012@mhi-tx.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG robert wrote: > 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. anonymous ftp runs in a chroot environment, so this sort of thing can't be done with the paths you mention. The solution would be to mount your cdrom somewhere under /usr/ftp for it to be available. Under anon ftp, the path "/cdrom" becomes "/usr/ftp/cdrom", a symlink can't help that. Mounting the cdrom on /usr/ftp/cdrom can however. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message