X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 6 Oct 2009 11:15:22 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: OpenSSH - sftp not working for non-Administrator users
Message-ID: <20091006091522.GL12789@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4A63CD77.5090700@tigroup-usa.com> <20090720023742.GC15540@ednor.casa.cgf.cx> <4A63E12B.4020205@tigroup-usa.com> <20090720050320.GD15540@ednor.casa.cgf.cx> <4A6404C4.2030003@tigroup-usa.com> <h41laj$jvh$1@ger.gmane.org> <20090720115728.GD30066@calimero.vinschen.de> <af075b00910050807jbd561d8oe8f1f9abcfd4090d@mail.gmail.com> <20091005185034.GD12789@calimero.vinschen.de> <af075b00910051218r576c2d9fle33dd069e01a454a@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <af075b00910051218r576c2d9fle33dd069e01a454a@mail.gmail.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Oct  5 20:18, Julio Costa wrote:
> On Mon, Oct 5, 2009 at 19:50, Corinna Vinschen wrote:
> > Why don't you just put cygwin1.dll into $CHROOT-DIR/bin?
> >
> 
> I did. It obviously works. But I see this more as the workaround, not
> the solution.
> 
> I'm trying to go from the workaround to the general solution.

I think putting the DLL into /bin is the general solution.  I wrote this
on this list a couple of times and I'm writing this again, as long as
anybody wants to read it:  Chroot is a bad hack, bad fake on Cygwin and
I curse the day I added this to Cygwin.  Don't use chroot and think
you're safe.  You're not.  It's just a joke of a jail.  Don't put too
much work into it.  I, certainly, won't.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

