[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mina-dev
Subject:    [jira] [Created] (SSHD-845) sftp create symlink failed
From:       "Zhenliang Su (JIRA)" <jira () apache ! org>
Date:       2018-09-20 7:28:00
Message-ID: JIRA.13186252.1537428449000.117023.1537428480485 () Atlassian ! JIRA
[Download RAW message or body]

Zhenliang Su created SSHD-845:
---------------------------------

             Summary: sftp create symlink failed
                 Key: SSHD-845
                 URL: https://issues.apache.org/jira/browse/SSHD-845
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 1.7.0
         Environment: winscp: version 5.11.2

            Reporter: Zhenliang Su
         Attachments: createlink.jpg, createlinkcontextmenu.jpg, deletesym.=
jpg, deletesymmsg.jpg

I used SSHD=C2=A0as a=C2=A0middleman between client and target sftp server.

I use winscp to connect my middleman.

my middleman source code is here:=C2=A0https://issues.apache.org/jira/secur=
e/attachment/12916355/Main.java

And I found two interesting issues:
 # The root directory has no file named `a` or `b`. When I use winscp to cr=
eate a symlink `a` pointing to `b`. I expected created a file named `a`. Ac=
tually it created a file named `b`. Without my middleman, It goes as my exp=
ected.
 # When I try to delete a symlink file without target file in winscp, it fa=
iled. Without my middleman, it will be successful.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic