Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <17D4AAD35969D511922800306E02AF7805F466@cirrus.shore.mbari.org> From: "Headley, Kent" To: "'cygwin AT cygwin DOT com'" Subject: ftpd: directory listing (ls) hangs Date: Mon, 20 Aug 2001 13:18:15 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 AT mbari DOT 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/