From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,99d8822ccc6ff536 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-10-07 00:10:07 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!psuvax1!news.cc.swarthmore.edu!hirai From: hirai@cc.swarthmore.edu (Eiji Hirai) Subject: Re: Anonymous FTP Message-ID: Sender: news@cc.swarthmore.edu (USENET News System) Nntp-Posting-Host: gingko.cc.swarthmore.edu Organization: Computing Center, Swarthmore College, Swarthmore, PA, USA References: Date: Thu, 7 Oct 1993 01:18:15 GMT 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