delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/05/16:46:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
References: <166589 DOT 77178 DOT qm AT web34704 DOT mail DOT mud DOT yahoo DOT com> <49399A96 DOT 4040203 AT saic DOT com>
Date: Fri, 5 Dec 2008 13:45:55 -0800 (PST)
From: TheO <idgajelas AT yahoo DOT com>
Subject: Re: Finally managed to create a jailed SFTP server, but how secure?
To: "WELLS, ROGER K." <ROGER DOT K DOT WELLS AT saic DOT com>, cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <536575.54830.qm@web34703.mail.mud.yahoo.com>
X-IsSubscribed: yes
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

> if you are concerned about the "cygdrive" text there is a registry entry where 
> you can set that to whatever you want including "". That is what I do. I would 
> tell you what it is but my windows machine is not here right now. Then when you 
> "ls /" you get /c, /d etc instead of /cygdrive/c, /cygdrive/d, etc.
> cheers,
> roger wells

I found an occurence of cygdrive in my registry:

  HKLM\SOFTWARE\Cygnus Solutions\Cygwin\mount v2\cygdrive prefix

I changed it /foo but it didn't worked, it still showed /cygdrive inside the Console
and jailed SFTP :(

I googled it and apparently it used to work but is no longer supported at least I'm wrong.



      

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