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?


> 
> This is what I get:
> 
>     sftp> cd C:/
>     Couldn't canonicalise: No such file or directory
> 
>     sftp> get C:/foo
>     Couldn't stat remote file: No such file or directory
>     File "/home/Administrator/C:/foo" not found.
> 

More to come:

    sftp> cd /cygdrive
    sftp> ls -al
    dr-xr-xr-x    1 root     root            0 Jan  1  1970 .
    drwxr-xr-x    5 root     root            0 Dec  1 13:17 ..

             *** note c/ is missing here ***

    sftp> cd c
    Couldn't canonicalise: No such file or directory
    sftp> put foo C:/
    Uploading foo to /cygdrive/C:/
    Couldn't get handle: No such file or directory


      

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