Package: vsftpd
Version: 2.0.5-2
Severity: normal

Hi,

I found something weird with the wildcard expansion of vsftpd. For
example I have this file in my ftproot. This is what 'ls' in a bash
shell does:
# ls -lsa
0 -rw-r--r--  1 root root    0 Jun 15 08:26 testfile.Zyada.Z
# ls -l *.Z
-rw-r--r-- 1 root root 0 Jun 15 08:26 testfile.Zyada.Z

Now I use a ftp client (doesn't matter which one) to connect to the server:
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r--    1 0        0               0 Jun 15 08:26 testfile.Zyada.Z
226 Directory send OK.
ftp> ls *.Z
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
226 Directory send OK.
ftp>

This is lftp as client:
lftp [EMAIL PROTECTED]:/> ls *.Z
lftp [EMAIL PROTECTED]:/> ls *.Z*
-rw-r--r--    1 0        0             201 Jun 15 08:33 testfile.Zyada.Z
lftp [EMAIL PROTECTED]:/>

This is decidedly different from what other ftp servers and shells like
bash do!

Can you please look into this? Thanks!!

Regards,

Guus

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.16.38 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages vsftpd depends on:
ii  adduser                       3.102      Add and remove users and groups
ii  libc6                         2.5-10     GNU C Library: Shared libraries
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libpam-modules                0.79-4     Pluggable Authentication Modules f
ii  libpam0g                      0.79-4     Pluggable Authentication Modules l
ii  libssl0.9.8                   0.9.8e-5   SSL shared libraries
ii  libwrap0                      7.6.dbs-13 Wietse Venema's TCP wrappers libra
ii  netbase                       4.29       Basic TCP/IP networking system

Versions of packages vsftpd recommends:
ii  logrotate                     3.7.1-3    Log rotation utility

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to