Subject: ls -la problem

From: [email-masked] (Zhen Yang)
Date: Mon, 23 Oct 95 12:41:40 PDT

Hello,

I have compiled wuftpd 2.4 on HP-UX 10.01 machine ( HP-UX  B.10.01 E 9000/809).
Right now I'm testing the ftpd. The permision for ~ftp/usr/bin/ls is 666.
If I ftp from Sun machines and login to be ftp (runs solaris or SunOS),
the ls command  works but not ls -l and form any HP machines (HP-UX version 9.x
or 10.x), the  ls command does not work.
But If I ftp from any Sun Or HP platforms and login to be root the ls and dir
command work.
Do you have any suggestion of how to solve this proble?

---------------------------
storm.[1]$ uname -a
SunOS storm 5.4 Generic_101945-27 sun4m sparc
2 storm /home/zhen> ftp firewall
Connected to firewall.
220 firewall FTP server (Version wu-2.4(2) Fri Oct 20 14:42:35 PDT 1995) ready.
Name (firewall:zhen): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
pub
asic_kits
pubtmp
bin
etc
usr
226 Transfer complete.
39 bytes received in 0.0028 seconds (13 Kbytes/s)
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
--------------------------------
netmon.[128]$ uname -a
HP-UX netmon A.09.01 A 9000/720 2013822049 two-user license
netmon.[129]$ ftp firewall
Connected to firewall.wv.mentorg.com.
220 firewall FTP server (Version wu-2.4(2) Fri Oct 20 14:42:35 PDT 1995) ready.
Name (firewall:zhen): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> bye
------------------------

Thanks,

-Zhen Yang

---

From: [email-masked] (Harald Milz)
Date: Mon, 23 Oct 1995 21:23 +0100 (MET)

> Right now I'm testing the ftpd. The permision for ~ftp/usr/bin/ls is 666.

If you are sure it is 666, there is no execute permission ... try 111 or
555 instead. 

-- 
Harald Milz ([email-masked], [email-masked]), iX Magazine

Alas, I am dying beyond my means.
		-- Oscar Wilde, as he sipped champagne on his deathbed