Bug 25482 - My guest ftp doesn't see directories
Summary: My guest ftp doesn't see directories
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: wu-ftpd
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-01 15:49 UTC by Laurent
Modified: 2007-04-18 16:31 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-02-01 15:53:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Laurent 2001-02-01 15:49:10 UTC
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:
guestuser user
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.
Plz help

Reproducible: Always
Steps to Reproduce:
1.declare ftp guest user in /etc/ftpaccess
2.Make a /etc/passwd entry like that:
user:x:501:501::/var/www/html/./:/bin/bash
3.Launch wu-ftp with xinetd
4. Login and see nothing
5. cd invisible_directory

Comment 1 Bernhard Rosenkraenzer 2001-02-01 15:53:46 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.