Anonymous ftp - ls doesn't work. "Can't load library..."

Anonymous ftp - ls doesn't work. "Can't load library..."

Post by Tall Cool On » Tue, 31 Aug 1993 23:23:09



I have 0.99.11 kernel running on a 486-33.  I just got pl11 and NET-2.
I tried to setup anonymous ftp on this machine, but I seem to have a problem.
Trying to run 'ls' gives me this error:

can't load library /lib/libc.so.4
Unspecified error

OK, so I tried creating /home/ftp/lib and putting a symlink there to
/lib/libc.so.4, but no go either.

I have the following permissions:

/home/ftp/etc    555
/home/ftp/bin    555
/home/ftp/lib    555
/home/ftp/pub    777
/home/ftp/bin/ls 111

Anyone have any advice??  Thanks.

 _I_______________________________________________________________________I_



|   |   EE student at the                                               |   |
|   |   University of Illinois    CompuServe: 70700,1011                |   |
|   |   at Urbana-Champaign                                             |   |
(___)-------------------------------------------------------------------(___)
  I                                                                       I

 
 
 

Anonymous ftp - ls doesn't work. "Can't load library..."

Post by Jon Hamilt » Wed, 01 Sep 1993 02:09:06



Quote:>I have 0.99.11 kernel running on a 486-33.  I just got pl11 and NET-2.
>I tried to setup anonymous ftp on this machine, but I seem to have a problem.
>Trying to run 'ls' gives me this error:

>can't load library /lib/libc.so.4
>Unspecified error

>OK, so I tried creating /home/ftp/lib and putting a symlink there to
>/lib/libc.so.4, but no go either.

A symbolic link just ain't gonna cut it here.  Anonymous ftp will do a
chroot to ~ftp, making symbolic links to anywhere "above" ~ftp
meaningless (or at least not what you probably expected).  The solution
is to use a hard link.

>I have the following permissions:

[...]

>Anyone have any advice??  Thanks.

> _I_______________________________________________________________________I_



>|   |   EE student at the                                               |   |
>|   |   University of Illinois    CompuServe: 70700,1011                |   |
>|   |   at Urbana-Champaign                                             |   |
>(___)-------------------------------------------------------------------(___)
>  I                                                                       I

--
====================================================================
= Jon Hamilton    |          "Please saw off my legs.              =

====================================================================

 
 
 

Anonymous ftp - ls doesn't work. "Can't load library..."

Post by Danny ter Ha » Wed, 01 Sep 1993 04:37:56



Quote:

>OK, so I tried creating /home/ftp/lib and putting a symlink there to
>/lib/libc.so.4, but no go either.

It's a shame but my solution is to make a copy of libs in the lib dir.
I think ftp does a chroot to the home dir of ftp in which case
it will never find anything above that directory ...

_____
Danny
--
<=====================================================================>

Robins law #103: 'a couple of lightyears can't part good friends'

 
 
 

1. FTP works, but "ls" or "dir" doesn't ???

I have gotten FTP working, but "ls" or "dir" from the remote client doesn't
return any listings.  I have setup anonymous FTP according to ftpd.8, but
something is missing.  Perhaps it's the dynamic linking not finding the
libraries?

Please help, thanks.

--
==============================================================================

O | Phone: 313-845-8178     Fax: 313-59-47596       PROFS: NPROBERT  | Motor
R | Powertrain Software & Tools, Advanced Vehicle Technology (AVT)   | Company
D | Engineering Technical Center (ETC C360), Dearborn, MI 48121, USA |
==============================================================================

2. plip timeout

3. wu-ftpd "ls" doesn't work with anonymous?

4. /dev/psaux - device or resource busy

5. "ls" doesn't works for anonymous?

6. 2.2 on an alpha

7. Why doesn't echo "text" 'command' "more text" work?

8. Promise SuperTrak66 RAID 5 Controller

9. "ls" doesn't work properly on ftp

10. help: "emacs:can't load library 'libXt.so.6'" . . .

11. "can't load library 'libXmu.so.6'"