Date: Mon, 10 Feb 1997 12:49:45 -0800 (PST) From: Snob Art Genre <ben@narcissus.ml.org> To: Doug White <dwhite@resnet.uoregon.edu> Cc: questions@freebsd.org Subject: Re: "no ld.so" when ftp'ing Message-ID: <Pine.BSF.3.91.970210124744.17526A-100000@narcissus.ml.org> In-Reply-To: <Pine.BSI.3.94.970210094319.195C-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Feb 1997, Doug White wrote: > On Mon, 10 Feb 1997, Snob Art Genre wrote: > > > I've been getting some unexpected errors (the best kind) when > > ftp'ing to my FreeBSD 2.1.5R machine running vanilla ftpd. > > > > 1) When I'm logged in as a real user (e.g. ben) locally or remotely, I > > can do ls or dir with no problems. > > > > 2) When I'm logged in as anonymous or ftp *from a remote site*, I can do > > ls but dir gets me "no ld.so". > > You need to copy ls from /bin to ~ftp/bin, since anonymous logins are I tried this. > chroot()ed to ~ftp/, which means that ~ftp becomes the root directory (/) > for that process . See the ftpd(8) man page for instructions on setting up > anonymous logins. > > > The only other data point I can think of that might be relevant is that I > > replaced /bin/ls with a statically-compiled version of the colorls port, > > renaming the old ls to ls.old. > > Are you sure it compiled statically? It's acting like it didn't. Well, I thought the same thing. But I ran file(1) and ldd(1) on it, and neither of them seemed to think it was dynamic. > > I've tried symlinking and alternately copying /usr/libexec/ld.so to > > /var/ftp, with no effect. > > You'd have to create ~ftp/usr/libexec/ and copy ld.so there. But you need > to check and make extra sure that colorls was properly compiled. I'll try this next. > Note that many ftp clients won't grok color ANSI codes properly, so this > is a bit of a waste, IMHO. There also is no way to send the -G option, as far as I know, which turns the codes on in the first place. It's not a matter of getting colorls working, it's a matter of getting ls at all! > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > > Ben "You have your mind on computers, it seems."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970210124744.17526A-100000>