Bug#931037: ftp: tab completion after cd mistakenly local instead of remote

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#931037: ftp: tab completion after cd mistakenly local instead of remote

Thorsten Glaser
Package: ftp
Version: 0.17-34.1
Severity: important

tg@caas:~ $ ftp ftp.upload.debian.org
Connected to usper.debian.org.
220 ftp.upload.debian.org FTP server
Name (ftp.upload.debian.org:tg): ftp
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /p<tab>

Expected (and verified on MirBSD):
ftp> cd /pub

Got this instead:
ftp> cd /proc/

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages ftp depends on:
ii  libc6         2.28-10
ii  libreadline7  7.0-5
ii  netbase       5.6

ftp recommends no packages.

ftp suggests no packages.

-- no debconf information