X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: hSJbUpMVM1lI_2tHgCzK7D3IHWM2mvFE_0_ScLICkjPZ.AuznfzFKL5d3fgD5OQzvuRl2BCTXYMZK0E72UNva37CEo5a1CyABIvqiW8hjtJS5Wa9ZqLO_Khm5ezahcBt_sHq6XBrPwv8MlONMLgw1ZcngTcb1CG7zPRewokl
X-Mailer: YahooMailWebService/0.7.260.1
Date: Wed, 19 Nov 2008 06:34:18 -0800 (PST)
From: TheO <idgajelas@yahoo.com>
Reply-To: idgajelas@yahoo.com
Subject: Re: SFTP doesn't work with ChrootDirectory option set
To: cygwin@cygwin.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-ID: <121807.19727.qm@web34705.mail.mud.yahoo.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Hi Corinna,

I tried to set ChrootDirectory to / (the root directory) which normally is
identical to "no jail" (and therefore I don't need to copy anything to
user's home directory).

But it didn't work for SFTP; it worked for SSH though.

------------ Corinna Vinschen wrote: --------------------

There's some likelihood that you did something wrong.  You must copy
everything required to run sftp to the jail and then some.  Cygwin
certainly doesn't exclude sftp from working because it doesn't like
the protocol...


Corinna





      

--
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/

