Subject: Re: Strange FTP behaviour
To: Tom Haapanen <email@example.com>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 12/20/2000 12:52:49
On Tue, Dec 19, 2000 at 08:51:59AM -0500, Tom Haapanen wrote:
> >On Tue, 19 Dec 2000, Tom Haapanen wrote:
> >> Name (foo.motorsport.com:jackd): jack
> >> 331 Password required for jack.
> >> ftp> pwd
> >> 257 "/u/jackjack" is the current directory.
> >> Where can I look for misconfiguration? Or have I stumbled onto a real
> Hubert Feyrer wrote:
> > It's a feature, not a bug. 8-)
> > Traditionally Unix shows you the absolute path when logged in as
> > non-anonymous user - after all why shouldn't they wander around on the
> > file system. I guess you can change this by setting all useres
> > (explicitly) as chroot or something - see /etc/ftpchroot.
> > Why this confuses your users is beyond me, though. :)
> Sorry, I should have been more explicit. Yes, I would expect the full path,
> and this is indeed the behaviour I do want.
> However, Jack's home directory is "/u/jack" -- and yet using the FTP
> connection, he is seeing it as "/u/jackjack". Somehow the directory name is
> being doubled. Why? How? How can I avoid this? And why do my 1.4.1
> systems not double the name?
I've had a look at the differences between the ftpd source in 1.4.1
and 1.4.2 and as far as I can tell, there doesn't seem to be anything
which would cause that problem.
Can you test NetBSD 1.5? Or at least libexec/ftpd from a 1.4.3
distribution (which should run ok on 1.4.2).
Luke Mewburn <email@example.com> http://www.wasabisystems.com
Luke Mewburn <firstname.lastname@example.org> http://www.netbsd.org
Wasabi Systems - providing NetBSD sales, support and service.