SUMMARY:wu-ftp 2.4.2/2.6.1on solaris 2.6

From: John Black (black_zero@usa.net)
Date: Tue Nov 07 2000 - 10:45:58 CST


Hi,

First of all I would like to thank all those who responded.

Rick von Richter <rickv@mwh.com>
Darren Dunham <ddunham@taos.com>
Barry Gamblin <bgamblin@hao.ucar.edu
"Christopher L. Barnard" <cbar44@tsg.cbot.com>
"Evans, Tim" <Tim_Evans@troweprice.com>
Ric Anderson <ric@Opus1.COM>
Stacey Conrad <Stacey.Conrad@millersville.edu>
David Foster <foster@dim.ucsd.edu>
Derrick Daugherty <derrick@tachyon.pointone.com>
Don Krause" <dkrause@optivus.com>
Tim Carlson <tim@santafe.edu>
James Ford <jford@tusc.net>
<MARC.NEWMAN@chase.com>
"Perrier,Kent - PLANO" <Kent.Perrier@Oneco.net>
cimenok@rt.net.tr
Moti Levy <mlevy@lannet.com>
Don Cary Grant <dgrant@ga-network.com>

Actually I failed to understand the ~ftp directory. My directory hierarchy
was as given below:

/export/home ......contained all home directories of ftp users.
/export/home/ftp .....anonymous ftp user home directory
/export/home/ftp/bin ..bin directory as mentioned in FAQ for wuftpd.
/export/home/ftp/usr .usr directory as mentioned in FAQ for wuftpd.
/export/home/ftp/etc ..etc directory as mentioned in FAQ for wuftpd.
/export/home/ftp/dev ..dev directory as mentioned in FAQ for wuftpd.

My mistake was that the user's home directories were not beneath the
/export/home/ftp directory which I was chrooting users to.

As soon as I received the replies from above said friends, I realized my
mistake. Then I chrooted users to /export/home directory and created bin, dev,
etc, usr directories beneath /export/home (not beneath /export/home/ftp). and
then everything worked fine. dir command is now functioning fine as is the
CuteFTP.

'ls' is built in to the binary, but 'dir' is done by calling the external
/usr/bin/ls program. Although I copied 'ls' and related libraries in bin and
usr/lib directories under /export/home/ftp yet these were not accessible by
ftp users as their home directories did not lie under the chrooted
environment.

Thank you very much once again for the support which enabled me to realize my
mistake.

John Black.

Original Post 2:

Hi,
This is my 2nd mail. Thank you very much the prompts responses from so many
friends. Almost all the replies advised me to upgrade to wu-ftp version
2.6.1,
which I have done. But still the problem exists.

After installation of wu-ftp version 2.6, I can log on successfully as a ftp
user, I can put or get successfully, I can do an "ls" and can see the files
successfully, but when I give dir command it apparently works fine ( I mean
does not give any error message) but it does not give any file listing. I am
running wu-ftp to allow users to upload their pages on the web server so I am
running in restricted mode. I want to give access to only guest users (not
anonymous or real local users).

If I do not run in restricted mode then "dir" works ok and gives the normal
directory listing. Is the dir command disabled in restricted mode? Is it that
much dangerous? It should not be....I beleive that it should work even in
restricted mode.
 
Original Post 1:

Hi,
We are an ISP and offer ftp accounts to users. I am running wu-ftp version
2.4.2 beta on solaris 2.6. The problem is that "dir" command is not
functioning in ftp session. Whereas "ls" is working fine. Most ftp clients
like Cute FTP use "dir" command so they do not run with our wu-ftp server.
Please advise on how to enable "dir" command in wu-ftp 2.4.2 beta.

I will summarize.
TIA

John Black

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:21 CDT