Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-222

SFTP file handles not closed for downloads

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.13-incubating
    • Component/s: SSH
    • Labels:
      None

      Description

      When a file is being downloaded over Guacamole via SFTP, the SFTP file handle is not properly closed via libssh2_sftp_close(), thus the file remains open on the server for the duration of the connection.

      As noted on the mailing lists, this can result in files being locked on the SSH server, at least until the connection is closed:

      The Guacamole connects to the SSH server correctly, and files can be browsed from the sidebar menu and downloaded. However, after download all downloaded files stays locked on the server. Until Guacamole disconnects, the files stay locked on the server and cannot be moved or deleted.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              mike.jumper Michael Jumper
              Reporter:
              mike.jumper Michael Jumper
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development