delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/09/07:36:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 9 Dec 2003 13:36:07 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Anonymous ftp - ls hangs
Message-ID: <20031209123607.GC1941@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <bqqqkl$ti5$1 AT sea DOT gmane DOT org> <20031206104355 DOT GP1640 AT cygbert DOT vinschen DOT de> <br2so7$6hl$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <br2so7$6hl$1@sea.gmane.org>
User-Agent: Mutt/1.4.1i

On Dec  8 14:08, Andrew DeFaria wrote:
> Corinna Vinschen wrote:
> >On Fri, Dec 05, 2003 at 12:43:16PM -0800, Andrew DeFaria wrote:
> >>Why is ls hanging and how do I fix it?
> >>
> >>Cygwin 1.5.4
> >>inetutils 1.3.2-24
> >[...]
> >Did you create a /bin directory in the anonymous chroot'ed directory?
> >Does it contain ls.exe and a copy of the necessary DLLs?
> 
> Yes and yes. Sorry I didn't mention that before:
> 
> $ cd ~ftp/bin
> $ ll .
> total 1018
> dr-xr-xr-x    1 ccadmin  Domain U        0 Dec  5 11:06 ./
> dr-xr-xr-x    1 ccadmin  Domain U    12288 Dec  5 12:04 ../
> -r-xr-xr-x    1 ccadmin  Domain U   970082 Dec  5 11:06 cygwin1.dll*
> -r-xr-xr-x    1 ccadmin  Domain U    71680 Dec  5 11:06 ls.exe*
> 
> Note I've tried various owners and perm bit settings. This is where I 
> left them.

Hmm, I don't know.  I've just tested with 1.5.4 (same version in both,
/bin and ~ftp/bin, that's important!) and it doesn't hang for me.  I
used the same permission bits as you.  Oh, and I have created a ~ftp/etc
directory and copied /etc/passwd and /etc/group into it.  But that isn't
necessary to get it running.

However, I think it's time to change ftpd so that it doesn't try
password authentication with empty password for the anonymous account.
I guess I'll change that to passwordless logon, that should be
sufficient, unless you want to access remote drives from the ftp
account.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019