delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/19/09:35:18

X-Recipient: archive-cygwin AT delorie DOT 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 AT yahoo DOT com>
Reply-To: idgajelas AT yahoo DOT com
Subject: Re: SFTP doesn't work with ChrootDirectory option set
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <121807.19727.qm@web34705.mail.mud.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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/

- Raw text -


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