Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: hirai@cc.swarthmore.edu (Eiji Hirai)
Subject: Re: Anonymous FTP
Date: Thu, 7 Oct 1993 01:18:15 GMT	[thread overview]
Message-ID: <CEI6AG.718@cc.swarthmore.edu> (raw)
In-Reply-To: SCOLLICK.93Oct6140103@antwrp.enemy.gsfc.nasa.gov

scollick@antwrp.enemy.gsfc.nasa.gov (Keith Scollick) writes:
: I tried here, but I have a problem with getting the dir command to 
: work. I get the error:
:   /bin/ls: Exec format error
: The ls command by itself is fine, it's just the dir command that seems
: to be having problems.

Sounds like ~ftp/bin/ls is not behaving properly.  Make sure that when you
say "the ls command by itself is fine" that you mean "~ftp/bin/ls works
fine" and not "/usr/bin/ls works fine" and not "ls within ftp works fine if
I login as myself and not anonymously".

Also, did you just copy /usr/bin/ls to ~ftp/bin/ls?  What you'll need is a
static-ly linked version of ls.  Get a copy you can compile from

	prep.ai.mit.edu:/pub/gnu/fileutils-3.6.tar.gz

link ls with -non_shared and install that in ~ftp/bin/.

-- 
hirai@cc.swarthmore.edu (Eiji Hirai) | Unix Geek for Swarthmore College
I don't speak for Swarthmore College | Computing Center, Swarthmore, PA, USA

"I post, therefore I am." -Rene Descartes on Usenet



  reply	other threads:[~1993-10-07  1:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-10-06 18:01 Anonymous FTP Keith Scollick
1993-10-07  1:18 ` Eiji Hirai [this message]
1993-10-07 10:31   ` Mark Bartelt
1993-10-07 17:19     ` Jeff Carter
1993-10-07 10:42 ` Matt Thomas
1993-10-07 13:29 ` Mike Salehi
1993-10-07 13:43 ` Mike Salehi
  -- strict thread matches above, loose matches on Subject: below --
1996-03-25  5:00 Andrea Mazzai
1996-03-25  5:00 ` Mike Iglesias
1996-03-27  5:00 ` Peter Mayne
1996-04-01  5:00 ` Christian Koenigseder
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox