Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 1999 01:17:16 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        robert <robert@mhi-tx.com>
Cc:        freebsd list <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ftp and symbolic links
Message-ID:  <19990219011716.A51859@scientia.demon.co.uk>
In-Reply-To: <36CCA3C8.70286012@mhi-tx.com>
References:  <36CCA3C8.70286012@mhi-tx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990219011716.A51859>