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?


> > I understand why all these virtual directories are necessary at the absolute
> > '/' root level. But here I refer to /cygdrive which is created inside the jail
> > directory, which means in absolute path, /jail/cygdrive (/jail being the root 
> of my jail). Inside the jail, only /cygdrive is created, no other virtual 
> directories (/proc or /dev/xxx) or files are created.
> 
> Created or not, they exist.  Try it.
> 

I tried it from jailed SFTP session:

  sftp> cd /dev
  Couldn't canonicalise: No such file or directory
  sftp> cd /proc
  Couldn't canonicalise: No such file or directory

They don't exist.


      

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