🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #60065

Re: Setting ftp server in Linux!!??

#60065
From: John Saunders
Date: Wed, 31 Aug 1994 03:30
30 lines
2620 bytes
Larry Doolittle (doolitt@recycle.cebaf.gov) wrote:
> Al Longyear (longyear@netcom.com) wrote:
> : hjp3@uxa.cso.uiuc.edu (park hee-joon) writes:

> : >well,this works fine.I had no problem with the connection.
> : >but,whenever the anonymous users in my ftp server issue 
> : >commands like 'dir' or 'ls'
> : >it displays nothing even though there is for sure something!!!!

> : The most common cause for this problem is that you are using a "ls"
> : program which requires shared libraries and you don't have a copy 
> : of the libc.so and ld.so files in ~ftp/lib.

> Either that, or the path for ls is hard-coded in the ftp binary,
> and that path is not where your ls is installed.  For example,
> I ran into a machine recently where the ftp binary had a
> "/bin/ls" coded into it (found with a "strings ftp | grep /")
> but the system had ls installed in /usr/bin/ls.  A quick
> soft-link cured the problem.

It's also worth knowing that the ftp daemon changes it's root
to the ftp directory tree. This means that when ftpd uses
/bin/ls it gets translated by the system into ~ftp/bin/ls.
Also you must use hard links rather than softlinks if you want
to access a file that is outside the ftp directory tree.
-- 
+----------------------------------------------------------------------------+
| John SAUNDERS - AARnet johns@rd.scitec.com.au - #include <stddisclaimer.h> |
| SCITEC Communication Systems - Phone +61 2 428 9541 - Fax +61 2 418 6954   |
+----------------------------------------------------------------------------+
Technical Details
Message-ID: <1994Aug31.033018.23775@rd.scitec.com.au>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!godot.cc.duq.edu!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!agate!msuinfo!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!us5.rd.scitec.com.au!johns
References: <33pl30$1q9@vixen.cso.uiuc.edu> <longyearCvArDw.BJp@netcom.com> <CvB3wG.FD2@murdoch.acc.Virginia.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100df9,3f730526e4534c1e
X-Google-Attributes: gid100df9,public
X-Google-Thread: 100b1f,3f730526e4534c1e
X-Google-Attributes: gid100b1f,public
X-Google-Thread: 102983,3f730526e4534c1e
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 1994-08-30 22:40:47 PST
Newsgroups: aus.computers.linux,comp.os.linux.admin,comp.os.linux.help
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!godot.cc.duq.edu!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!agate!msuinfo!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!us5.rd.scitec.com.au!johns
From: johns@rd.scitec.com.au (John Saunders)
Subject: Re: Setting ftp server in Linux!!??
Message-ID: <1994Aug31.033018.23775@rd.scitec.com.au>
Organization: Scitec Communication Systems
X-Newsreader: TIN [version 1.2 PL2]
References: <33pl30$1q9@vixen.cso.uiuc.edu> <longyearCvArDw.BJp@netcom.com> <CvB3wG.FD2@murdoch.acc.Virginia.EDU>
Date: Wed, 31 Aug 1994 03:30:18 GMT
Lines: 30