You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2017/02/26 22:11:45 UTC

[jira] [Created] (GUACAMOLE-222) SFTP file handles not closed for downloads

Michael Jumper created GUACAMOLE-222:
----------------------------------------

             Summary: SFTP file handles not closed for downloads
                 Key: GUACAMOLE-222
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-222
             Project: Guacamole
          Issue Type: Bug
          Components: SSH
            Reporter: Michael Jumper
            Priority: Critical


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|http://mail-archives.apache.org/mod_mbox/incubator-guacamole-user/201702.mbox/%3CCACogDRa%3DdGBpczPDNDCZ0USg59ov4Cdt5J2%3D_450PwtpUn8sUQ%40mail.gmail.com%3E], this can result in files being locked on the SSH server, at least until the connection is closed:

{quote}
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.
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)