> Joel Lansden wrote:
> I have users configured as FTP users only, so they cannot leave their
> home directories in FTP.  So now I'm left with this bizarre
> phenomena:  when logged in via FTP, the DIR command returns nothing.
> The LS command returns everything.

The easiest way to handle this (I've found) is to compile your own
static copy of "ls".  Create a "bin" directory in the home directory of
each user, and copy your static "ls" there.  If you plan to add a lot of
these, you should create a "bin" dir with the static "ls" in /etc/skel.

As pointed out, if you don't want to compile a static "ls", you could
copy the "lib" and "bin" directories from /home/ftp into each user's
home directory.

A third option would be to run an FTP server that does _not_ call
system("/bin/ls") for a directory listing, but has its own ls function
built in.  I believe that ProFTPd has this feature.  (But I don't
recall)

MSG


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to