This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Finally managed to create a jailed SFTP server, but how secure?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]