Package: wu-ftpd
Version: 2.6.2-22
Severity: normal

Hi,

Anonymous clients can't get the list of files.  It looks like a chroot
lib/ issue:

# ls -l /home/ftp/bin/ls
---x--x--x 1 root root 80008 2006-05-04 10:36 /home/ftp/bin/ls
# chroot /home/ftp /bin/ls
chroot: cannot run command `/bin/ls': No such file or directory
# LD_LIBRARY_PATH=/home/ftp/lib ldd /home/ftp/bin/ls
        linux-gate.so.1 =>  (0xffffe000)
        librt.so.1 => /home/ftp/lib/librt.so.1 (0xb7faa000)
        libacl.so.1 => /home/ftp/lib/libacl.so.1 (0xb7fa2000)
        libselinux.so.1 => /home/ftp/lib/libselinux.so.1 (0xb7f8e000)
        libc.so.6 => /home/ftp/lib/libc.so.6 (0xb7e56000)
        libpthread.so.0 => /home/ftp/lib/libpthread.so.0 (0xb7e43000)
        /lib/ld-linux.so.2 (0xb7fb5000)
        libattr.so.1 => /home/ftp/lib/libattr.so.1 (0xb7e3f000)
        libdl.so.2 => /home/ftp/lib/libdl.so.2 (0xb7e3b000)
        libsepol.so.1 => /home/ftp/lib/libsepol.so.1 (0xb7dfb000)
# cp /lib/ld-linux.so.2 /home/ftp/lib
# chroot /home/ftp /bin/ls
bin  dev  etc  lib  pub  welcome.msg

And ls now works for anonymous clients.

Samuel

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages wu-ftpd depends on:
ii  debconf [debconf-2.0]         1.5.0      Debian configuration management sy
ii  debianutils                   2.15.7     Miscellaneous utilities specific t
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libpam0g                      0.79-3.1   Pluggable Authentication Modules l
ii  netbase                       4.25       Basic TCP/IP networking system
ii  perl [perl5]                  5.8.8-4    Larry Wall's Practical Extraction 

wu-ftpd recommends no packages.

-- debconf information:
* wu-ftpd/create-incoming: false
  wu-ftpd/homedir: /home/ftp
  wu-ftpd/update-binaries:
* wu-ftpd/home-noexist: true
* wu-ftpd/libnss:
* wu-ftpd/anonymous: true
  wu-ftpd/homedir-not-absolute:
  wu-ftpd/ftpusers: false
* wu-ftpd/run_mode: standalone
  wu-ftpd/homedir-exists: false
  wu-ftpd/ftpusers-symlink:

-- 
Samuel Thibault <[EMAIL PROTECTED]>
Running Windows on a Pentium is like having a brand new Porsche but only
be able to drive backwards with the handbrake on.
(Unknown source)


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

Reply via email to