This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ftpd: directory listing (ls) hangs



I am trying to set up anonymous ftp on an NT4.0+Cygwin platform; I am able to login anonymously as user ftp, but can't get a directory listing: using ls hangs indefinitely. I am able to change directories and GET files from the pub directory. 

My configuration information appears below.

I can't seem to find additional man pages or references to this problem in the Cygwin mailing list. Any help would be greatly appreciated.

Cheers,
Kent

 
I am using developer snapshot cygwin1-20010819.dll (using the latest distributed version of cygwin1.dll,  ftpd returned error 550: Can't set guest privileges).

I have the following directory structure, per the ftpd man page ( I had to add cygwin1.dll to /etc/home/ftp/bin to make it work) :

ftp:
total 4
dr-xr-xr-x        2 root     None              0 Aug 20 12:19 bin
dr-xr-xr-x        2 root     None         4096 Aug 20 09:01 etc
drwxrwxrwx    2 ftp       None              0 Aug 20 12:24 pub

ftp/bin:
total 1463
-r-xr-xr-x        1 root     None       473600 Aug 20 10:38 bash.exe
-r-xr-xr-x        1 root     None       954672 Aug 20 12:19 cygwin1.dll
-r-xr-xr-x        1 root     None        68608 Aug 20 10:39 ls.exe

ftp/etc:
total 6
-r--r--r--          1 root     None            0 Aug 20 08:28 ftpusers
-r--r--r--          1 root     None           49 Aug 20 08:28 ftpwelcome
-rwxrwxrwx    1 root     None         1973 Aug 20 09:01 inetd.conf
-r--r--r--          1 root     None           60 Aug 20 08:28 motd
-rwxrwxrwx    1 root     None          342 Aug 20 10:44 passwd
-rwxrwxrwx    1 root     None           18 Aug 20 08:56 shells

ftp/pub:
total 1
-rw-rw-rw-      1 headley  Administ       10 Aug 20 12:24 afile

My /etc/passwd (and /home/ftp/etc/passwd) file:

SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
headley::43:544:Kent Headley,U-LAGOON\headley,S-1-5-21-2020293289-1447888985-561332275-1796:/home/headley:/bin/bash
root::0:513:,S-1-5-21-1711026927-1551982967-782984527-1002:/home/root:/bin/bash
ftp::1008:513:U-ftp,S-1-5-21-1711026927-1551982967-782984527-1008:/home/ftp:/bin/false

My /etc/group (and /home/ftp/etc/group) file:

Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-1711026927-1551982967-782984527-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
TelnetAccess:S-1-5-21-1711026927-1551982967-782984527-1000:1000:

_____________________________

Software Engineer
Research & Development Division

MBARI
7700 Sandholdt Road
Moss Landing, CA 95039-0628

Tel: 831.775.1822
Fax: 831.775.1645
e-mail: headley@mbari.org
website: http://www.mbari.org

"If at first the idea is not absurd, then there is no hope for it." - Albert Einstein


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]