From: mrex@indigo0.urz.uni-heidelberg.de Subject: Re: anonymous ftp 0.99pl1 Date: Thu, 02 Sep 1993 00:45:25 GMT
Malcolm Beattie (mbeattie@black.ox.ac.uk) wrote:
>
> 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.
only 1/2 true.
symbolic links won't work for the anon-ftp, but hard links will work,
so either of the following will work:
1) ln /lib/libc.so.4.3.3 ~ftp/lib/libc.so.4.3.3
ln -s libc.so.4.3 /home/ftp/lib/libc.so.4
2) ln /lib/libc.so.4.3.3 ~ftp/lib/libc.so.4
-Martin