[comp.unix.questions] FTPD

abp@ptolemy.arc.nasa.gov (Andrew B Philips) (03/20/90)

This may be a well known, but...

I have been trying to set up ftp to allow anonymous ftp into my Sparc.
I have followed the instructions given in the man pages under ftpd
which describe how to set up the ftp sub-tree.  The ftp user was
created with the appropriate directory (not root directory).  The
directory was setup and looks like this:

> ls -l ~ftp

     dr-xr-xr-x  2 root          512 Mar 16 18:50 bin/
     dr-xr-xr-x  2 root          512 Mar 16 18:56 dev/
     dr-xr-xr-x  2 root          512 Mar 16 18:58 etc/
     drwxrwxrwx  2 ftp           512 Mar 19 12:13 pub/
     dr-xr-xr-x  2 root          512 Mar 16 18:52 usr/

The problem is that 'ls' does not seem to work during anonymous ftp
unless ftp's directory is the root directory.  Everything else seems
to work though.  I think everything is set up correctly, except I
cannot understand one line in the ftpd man pages regarding ls.  It is
under the ~ftp/bin section:

  Since the default /bin/ls command is linked with a shared library,
  so you need to set up the files for dynamic linking.

Incorrect english aside, I cannot understand what I should do.  Is
this why 'ls' is not working from ftp?  Or is this a well known bug?
Or is it something else?  Also, I have a soft link set up from
~ftp/bin/ls to /bin/ls.  Does this matter (this is what the man pages
say to do).

In fact, it doesn't seem to matter whether or not any of the sub
directories are set up, the behavior of the ftp program (in anonymous
mode) is the same.  That is, all functions work except ls.

Please send suggestions via e-mail as I am not a regular subscriber.

Thank you.

:Andy Philips
abp@ptolemy.arc.nasa.gov
-- 
===========================================================
= Andy Philips               = "Life is a fatal, sexually =
= abp@ptolemy.arc.nasa.gov   =  transmitted disease"      =
===========================================================