Re: ls in anon. ftp
You must be copy also the libraries :
-r-xr-xr-x 1 root root 148756 Feb 14 18:11 ld-2.0.7.so*
lrwxrwxrwx 1 root root 11 Feb 3 16:53 ld-linux.so.2 ->
-r--r--r-- 1 root root 651436 Feb 14 18:11 libc.so.6
-r--r--r-- 1 root root 6612 Feb 14 18:11 libdl.so.2
-r--r--r-- 1 root root 240572 Feb 14 18:11 libncurses.so.4
-r--r--r-- 1 root root 19044 Feb 14 18:11 libnsl.so.1
-r--r--r-- 1 root root 30204 Feb 14 18:11 libnss_files.so.1
-r--r--r-- 1 root root 169448 Feb 14 18:11 libreadline.so.2
to subdir lib/
> I have just set up an anonymous ftp on my machine.
> The directory is /home/ftp with subdirectories bin
> etc and pub.
> THe directory ftp is owned by root and group staff.
> I copied /bin/ls into /home/ftp/bin.
> In etc, I copied the /etc/passwd and /etc/group
> files and deleted everything except the line for
> the ftp in the passwd file and the group in the group
> I am able to ftp anonymously from another tty on my machine
> but when I do an ls, the message is the usual one ( command
> successful .. ASCII for /bin/ls ) but the subdirectories
> and not shown up. I tried ftp from my home machine, which
> is also a Debian Linux, and I get the same problem. However,
> when I ftp from the NT machine and do the ls, the subdirectories
> show up.
> Does anybody know what the problem is? I have been following all
> the directions from man ftpd and Linux unleashed by Hussain, and
> Sebastian Canagaratna
> Department of Chemistry
> Ohio NOrthern University
> Ada, OH 45810
> Unsubscribe? mail -s unsubscribe email@example.com <
Hernán J Cervantes Rodríguez
Instituto de Física da USP
e-mail : firstname.lastname@example.org
homepage : http://fge.if.usp.br/~hernan/