Red Hat Bugzilla – Bug 25482
My guest ftp doesn't see directories
Last modified: 2007-04-18 12:31:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [fr] (X11; U; Linux 2.2.16-22 i686)
I have a ftp user declared as a ftp guest user in ftpaccess, like that:
This user can login and is restricted to his home directory but don't
see any directory.
He can pass throw the directory but can't see them.(the name of
directories does not begin with a dot)
I have another wu-ftp server with a RedHat 6.2 and It's working very
well with the same config. So I don't know what to do.
Steps to Reproduce:
1.declare ftp guest user in /etc/ftpaccess
2.Make a /etc/passwd entry like that:
3.Launch wu-ftp with xinetd
4. Login and see nothing
5. cd invisible_directory
This is a problem with your setup. You need to copy ls and all libraries
it uses to the chroot environment. Take a look at the anonftp package
for an example of how this is done.
wu-ftpd has an EXPERIMENTAL internal implementation of ls; we've disabled
it by default because it caused some problems.
If you want to use that instead of setting up the chroot environment,
you need to recompile wu-ftpd with ./configure --enable-ls.