> I am setting up an anonymous ftp server on a Debian 1.3 box (Yes, I know
> it's superceded. No, I'm not going to upgrade unless it directly affects
> this problem).
> For some reason, once you've logged onto the anon ftp server, it won't do
> 'dir' (or 'ls -l') commands. This is the same for both the standard ftpd
> and wu-ftpd.
> ftp> dir
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for /bin/ls.
> 226 Transfer complete.
> See? No files! Except there are;
> ***README***
> stats.dat
> TIB
> ***Files_more_than_7_days_old_will_be_deleted***
> 226 Transfer complete.
> 163 bytes received in 0.0039 seconds (41 Kbytes/s)
> Anyone any ideas?
> Regards,
> Hugh.
> --
> VP Desktop Systems, Republic National Bank, London.
> The views expressed here are mine, and do not reflect the official
> position of Republic New York Corporation.
> [Please remove "_nospam" for real email address.]
or deleted.
When anonymous ftp occurs, it "chroot"s to the anonymous
ftp directory. There is usually a skeleton /etc /bin /lib
directory structure off of the ftp dir with just enough files to
give ftp it's basic command set. If these get blown away, or if
the permissions are wrong, they won't work.
Try NON-Anonymous ftp to the server, if that works, then
what is described above is probably the problem.