ftpd weirdness

im running an ftp server through inetd and all works ok except if i do an ls. when i do i get an : 550 /bin/ls -loA :function not implemented.

i can do a ls -loA from the shell on the server box no problems…

any ideas?
vince

vince <lab-101@usa.net> wrote:
: im running an ftp server through inetd and all works ok except if i do an ls. when i do i get an : 550 /bin/ls -loA :function not implemented.

: i can do a ls -loA from the shell on the server box no problems…

: any ideas?

First guess:
You are probaly loggin anonymous, you need to set libc.so* in the
~/ftp/lib chrooted area.

: vince


au revoir, alain

Aussi haut que l’on soit assis, on n’est toujours assis que sur son cul !!!

nope im logging in root…
i also don’t have a ~/ftp dir because im running a minimal nto/photon
install. should i have one? where do i put it?

vince

On 14 Feb 2001 21:00:59 GMT, Alain Magloire <alain@qnx.com> wrote:

vince <> lab-101@usa.net> > wrote:
: im running an ftp server through inetd and all works ok except if i do an ls. when i do i get an : 550 /bin/ls -loA :function not implemented.

: i can do a ls -loA from the shell on the server box no problems…

: any ideas?

First guess:
You are probaly loggin anonymous, you need to set libc.so* in the
~/ftp/lib chrooted area.

: vince

“vince” <lab-101@usa.net> wrote in message
news:Voyager.010214121008.929834A@draco…

im running an ftp server through inetd and all works ok except if i do an
ls. when i do i get an : 550 /bin/ls -loA :function not implemented.

i can do a ls -loA from the shell on the server box no problems…

any ideas?
vince

You need to run ‘pipe’ on the ftp server. (I can’t remember how I found this
out).

Hope this helps
Philip

vince <vgeisler@engineer.com> wrote:
: nope im logging in root…
: i also don’t have a ~/ftp dir because im running a minimal nto/photon
: install. should i have one? where do i put it?

If you do not provide anonymous, no.

Second guess:

If you try “ls” whith no argument does it work ?
If yes, someone else pointed you also have to run pipe, because ftpd will
do an equivalent to popen("/bin/ls") when passing argument to ls.



: vince

: On 14 Feb 2001 21:00:59 GMT, Alain Magloire <alain@qnx.com> wrote:

:>vince <lab-101@usa.net> wrote:
:>: im running an ftp server through inetd and all works ok except if i do an ls. when i do i get an : 550 /bin/ls -loA :function not implemented.
:>
:>: i can do a ls -loA from the shell on the server box no problems…
:>
:>: any ideas?
:>
:>First guess:
:>You are probaly loggin anonymous, you need to set libc.so* in the
:> ~/ftp/lib chrooted area.
:>
:>: vince

\

au revoir, alain

Aussi haut que l’on soit assis, on n’est toujours assis que sur son cul !!!