From: Aaron W M. <aar...@gm...> - 2007-07-24 23:02:07
|
Hello all, This was also posted earlier this year. There is a bug with wu-ftpd on AIX when you run 'ls' with any parameters. ('ls' with no parameters works fine) eg.... $ ftp localhost Connected to loopback. 220- Name (localhost:foo): 331 Password required for foo. Password: 230 User foo logged in. Access restrictions apply. ftp> ls -l 200 PORT command successful. 550 /bin/ls -l: Not enough space. A quick search on Google shows that others have been having this issue for quite a while with no success: Reference: http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=3bn&q=wu-ftpd+aix+%22550+%2Fbin%2Fls%22+%22Not+enough+space%22&btnG=Search A post on a bugtrac mailing list seems to indicate that it might have something to do with a couple of the most recent vulnerability patches for wu-ftpd. Reference: http://seclists.org/bugtraq/2003/Aug/0210.html Also, here is a truss trace of the above transacation where I run 'ls -l': <snip> 1114188: 2125943: kread(0, " N L S T - l\r\n 0 , 0".., 4096) = 9 1114188: 2125943: incinterval(0, 0x2FF21888, 0x2FF21898) = 0 1114188: 2125943: _getpid() = 1114188 1114188: 2125943: open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC) Err#2 ENOENT 1114188: 2125943: send(3, 0x2FF21094, 78, 0) = 78 1114188: 2125943: statx("-l", 0x2FF21848, 128, 010) Err#2 ENOENT 1114188: 2125943: statx("-l", 0x2FF21848, 128, 011) Err#2 ENOENT 1114188: 2125943: sigprocmask(0, 0x00000000, 0x20011428) = 0 1114188: 2125943: statx("-l", 0x2FF21848, 128, 010) Err#2 ENOENT 1114188: 2125943: statx("-l", 0x2FF21848, 128, 011) Err#2 ENOENT 1114188: 2125943: open(".", O_RDONLY|O_LARGEFILE) = 8 1114188: 2125943: statx("-l", 0x2FF1FA50, 128, 011) Err#2 ENOENT 1114188: 2125943: statx(".", 0x2FF1E990, 76, 0) = 0 1114188: 2125943: open(".", O_RDONLY) = 9 1114188: 2125943: getdirent64(9, 0x20059CA8, 4096) = 1016 1114188: 2125943: klseek(9, 0, 0, 0x00000000) = 0 1114188: 2125943: kfcntl(9, F_GETFD, 0x20013D24) = 0 1114188: 2125943: kfcntl(9, F_SETFD, 0x00000001) = 0 1114188: 2125943: close(9) = 0 1114188: 2125943: statx("/", 0x2FF1EAF8, 176, 020) = 0 1114188: 2125943: statx("./", 0x2FF1EAF8, 176, 020) = 0 1114188: 2125943: fchdir(8) = 0 1114188: 2125943: close(8) = 0 1114188: 2125943: appgetrlimit(7, 0x2FF1F1F0) = 0 1114188: 2125943: kwrite(1, " 5 5 0 / b i n / l s ".., 35) = 35 <snip> Finally, my pertinent system info: AIX 5300-05 wu-ftpd-2.6.2-6 Any help would be most appreciated. -- Aaron W Morris (decep) |