[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting up Anon FTP?



Ossama Othman wrote (Thu, 26 Feb 1998 14:03:54 -0500 (EST) ):
|>
|>Ah, I see.  However, what is the specific problem?  I assume Tony ran ldd
|>on /bin/ls and copied over the necessary shared libraries.  What is wrong
|>or isn't happening now?

Well, I can't speak to his situation, but currently, when I do 'ls'
from the ftp prompt, this is the result:

  ftp> ls
  200 PORT command successful.
  150 Opening ASCII mode data connection for '/bin/ls'.
  226 Transfer complete.
  ftp>

No output...I think ls is failing, and the only reason I can think why
is because of the shared library failing to link.

Tony made a good point though: there are a lot of files that are
required to do dynamic linking, and these are all out of the scope of
a chroot'd file system.  Heck, a chroot'd process won't even see
/lib/ld.so, right?  So, do we need to copy /lib/ld.so, /etc/ld.so.*,
and a bunch of other stuff to the ~ftp area?

|>In my experience, the steps listed in the man page are all I had to do
|>(except for the character devices).
|>

Hmmm...does your man page describe the process for a dynamically
linked ls?  In my man page, it just says copy /bin/ls to ~ftp/bin/ls
and it should work.  Clearly, this isn't the case...

Thanks.

-alan


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: