[comp.unix.aux] Anonymous FTP

demarsee@gamera.acs.syr.EDU (Darryl E. Marsee) (08/15/90)

Another question.

I'm trying to set up anonymous FTP under A/UX 2.0, and I've followed
the description under the ftpd manpage, but I still can't get it to
work correctly.  I can connect and login via anonymous FTP to my
machine, but when I do an ls, I get nothing.  I can retrieve the
files that I know are there, but it just seems that ls does nothing.
If I do an su to superuser and cd to ~ftp, and then issue a bin/ls
to see if indeed the ls in the ~ftp/bin directory is working, I get
the directory listing I expect.  Is there some privilege not mentioned
under the ftpd manpage that I need to change?  For the most part,
everything is 555, with the exception of bin/ls and bin/sh (111),
and etc/group and etc/passwd (444).

Any suggestions?
--
 
Regards,

Darryl Marsee
Syracuse University
<demarsee@gamera.cns.syr.edu>

steveg@umd5.umd.edu (Steve Green) (08/15/90)

In article <DEMARSEE.90Aug14124735@gamera.acs.syr.EDU> demarsee@gamera.acs.syr.EDU (Darryl E. Marsee) writes:
>Another question.
>
>I'm trying to set up anonymous FTP under A/UX 2.0, and I've followed
>[...]
>and etc/group and etc/passwd (444).
>
>Any suggestions?

As a matter of fact, we just had the same problem.  It turns out that /bin/ls
uses shared libraries and anonymous ftp does chroot ~ftp.  This means that
ls cant get to /shlib.  On solutution is to get an old version of ls.  I have
found that
	# mkdir ~ftp/shlib
	# ln /shlib/* ~ftp/shlib
will also take care of it.

--
steveg@umd5.umd.edu