From: mbeattie@black.ox.ac.uk (Malcolm Beattie) Subject: Re: anonymous ftp 0.99pl1 Date: Tue, 31 Aug 1993 08:54:24 GMT
In article <1.11823.2381.0N27938C@satalink.com> john.will@satalink.com (John Will) writes:
>MR>I setup the ftp lastnight. /home/ftp becomes the root directory.
>MR>Therefore find where lib lives in the real system, and copy the file there
>MR>in the /home/ftp area. ie: /home/ftp/lib/libc.so.4 No special permissions
>MR>were required, although I made everything read only except for pub.
>
>YIKES! I don't think you want to copy the libraries around, why not just
>put a link to it if it's required. I'm not sure this is his problem in
>any case, since I didn't have to do anything like this, and I can ftp to/from
>the Linux box from another Linux box and a Sun IPX with no difficulty.
The point is that ftpd does a chroot(2) and then can't see
the libraries whatever sort of links you use. You either need
to have copies of your shared libraries under ~ftp or else
only ever put statically linked binaries under there.
--Malcolm
-- Malcolm Beattie <mbeattie@black.ox.ac.uk> | I'm not a kernel hacker Oxford University Computing Services | I'm a kernel hacker's mate 13 Banbury Road, Oxford, OX2 6NN (U.K.) | And I'm only hacking kernels Tel: +44 865 273232 Fax: +44 865 273275 | 'Cos the kernel hacker's late