Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-194

SftpSubsystem resolveFile is missing necessary information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.8.0
    • None
    • None
    • any

    Description

      To open files, SftpSubsystem uses the resolveFile method. This is done for SFTP Commands SSH_FXP_OPEN as well as for SSH_FXP_REALPATH. The problem is, that for OPEN a file handle pointing to a probably unexisting file has to be returned in order to be able to write to that file. For SSH_FXP_REALPATH, however, I should throw an Exception in case a nonexisting file is specified. As this information is not passed on, it is impossible to properly answer such requests in FileSystemView.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              acerberus Arno Mittelbach
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: