Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0229A200C45 for ; Tue, 14 Mar 2017 01:00:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 00A7E160B85; Tue, 14 Mar 2017 00:00:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F37A3160B5D for ; Tue, 14 Mar 2017 01:00:07 +0100 (CET) Received: (qmail 68098 invoked by uid 500); 14 Mar 2017 00:00:02 -0000 Mailing-List: contact user-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.incubator.apache.org Delivered-To: mailing list user@guacamole.incubator.apache.org Received: (qmail 68085 invoked by uid 99); 14 Mar 2017 00:00:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2017 00:00:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A52501AFA3F for ; Tue, 14 Mar 2017 00:00:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id vL5naTJO6JgL for ; Tue, 14 Mar 2017 00:00:00 +0000 (UTC) Received: from mail-ua0-f179.google.com (mail-ua0-f179.google.com [209.85.217.179]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E728C5F295 for ; Mon, 13 Mar 2017 23:59:59 +0000 (UTC) Received: by mail-ua0-f179.google.com with SMTP id u30so163273538uau.0 for ; Mon, 13 Mar 2017 16:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=+XFJLHWcwMFfXhwU4+Fj9HLa2siyTZFv2Es7XxX5fxw=; b=G45v4AYJE9Wa04NkQbaqmJ0uQxqDl/BTs/GS16sjQrPJ3x571XY7depKiHJUS/LCd/ HdCVF3UfIl/w4GzUX/s+oy+pcpHOz+K+c+2P6f4AxncBZE8NtojAXavThY2nnyXroWfd f/jtRaMSate9Q2mA/RtsMGAYEcAFxBSZbW1hDELVmHM2hqQB/Hm74fh0wxhWqhssqDHd QAugBxhjQGLMqVIUZzv0j+q+/cXyR5JIGKg8ZmXyvAn0eAlpQPQ5P8jHFIBflecemkZt FU2dCOjvLPh7uQ7nI3MMnJY0U0ZUAFCHyknmokRNJcqx1xP5YhjofWBoCZX3VzePtpqE U/IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=+XFJLHWcwMFfXhwU4+Fj9HLa2siyTZFv2Es7XxX5fxw=; b=OeVsIZ7EuMVajWndRwbDZ1L7ctJB2D1DjqzxPANn3myzQMAkFxI9Tj31K2HuFaDoZb e750VhN1kReaDUAeqWjpJR4fYBpJzZ6MtDPQaxD6SWHrD8ykngogQRVtNTvcJA+k6ogh LB+n0gWJ+d8JFEOGhH1JAVL6FI06R8E9gze05fdN2qtp97nwUckcavRWScCKK8Xa6vyq gcTV/ut6mT0dkXp3YQiWJCLevu37ZUKDm3q4QY6WirXqLwTNaD0wLjDGDQJdanUVi7aF L6yJkCe6WL5K/U79OBldXsxQw+I3+RL3u0msJi8By+GPoAEq86U6pYkt0QAzBEAtXPP8 AIqQ== X-Gm-Message-State: AMke39mmYhf2AnTD9tWJNbeyPtMvfle8hQdNR4/O8kmZrpX2zOXpf42wPtw21YzI/6gUATTWQkutjHuJNxn+7Q== X-Received: by 10.176.82.35 with SMTP id i32mr18237097uaa.57.1489449135223; Mon, 13 Mar 2017 16:52:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Marko_Nikoli=C4=87?= Date: Mon, 13 Mar 2017 23:52:04 +0000 Message-ID: Subject: Re: SFTP file locking To: user@guacamole.incubator.apache.org Content-Type: multipart/alternative; boundary=94eb2c18fd2a9db961054aa566cd archived-at: Tue, 14 Mar 2017 00:00:09 -0000 --94eb2c18fd2a9db961054aa566cd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have made some short testing and it seems that thare are no more problems with file locking. Beside the above, I had issue with failing to connect to some of the servers when SFTP is turned on, with error message "Error waiting for file descriptor." (0.10-incubating). Somehow, this happens on some servers, on some don't, but with the latest code, everything work. Marko =D0=BF=D0=BE=D0=BD, 27. =D1=84=D0=B5=D0=B1 2017. =D1=83 00:27 Marko Nikoli= =C4=87 =D1=98=D0=B5 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BE/=D0=BB=D0=B0: Thanks for the quick response! I'll try latest version and report back. Regards, Marko =D0=BF=D0=BE=D0=BD, 27. =D1=84=D0=B5=D0=B1 2017. =D1=83 00:23 Mike Jumper <= mike.jumper@guac-dev.org> =D1=98=D0=B5 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BE/=D0=BB=D0=B0: Mind building the latest from git master and giving it another shot? I believe we just fixed this: https://issues.apache.org/jira/browse/GUACAMOLE-222 - Mike On Sun, Feb 26, 2017 at 6:00 AM, Marko Nikoli=C4=87 wrote: Hello, I am using Guacamole RDP + SSH connection and have some strange behaviour after SFTP file transfer. 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. When the files are downloaded with sftp client from terminal, with the same credentials, the server does not lock files after download. I have made tests with two different SFTP servers (Sysax and Rebex Tiny) and results are the same. The logs from the Rebex SFTP server shows that after getting file from Guacamole, the file on the server side is not closed, as shown below: 14:48:36.447 Debug SFTP: Getting item info on '/Downloads/tightvnc-2.8.5-gpl-setup-64bit.msi': success. 14:48:36.509 Debug SFTP: Opening file '/Downloads/tightvnc-2.8.5-gpl-setup-64bit.msi' (Open, Read): success. 14:48:42.009 Debug SFTP: Getting item info on '/Downloads': success. When the same file is downloaded from terminal, there is file close in the logs: 14:47:34.118 Debug SFTP: Getting item info on '/Downloads/tightvnc-2.8.5-gpl-setup-64bit.msi': success. 14:47:34.181 Debug SFTP: Opening file '/Downloads/tightvnc-2.8.5-gpl-setup-64bit.msi' (Open, Read): success. 14:47:34.228 Debug SFTP: Closing file '/Downloads/tightvnc-2.8.5-gpl-setup-64bit.msi': success. Has anybody faced similar issues? Regards, Marko --94eb2c18fd2a9db961054aa566cd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have made some short testing and= it seems that thare are no more problems with file locking.

Beside the above, I had issue with failing to connect t= o some of the servers when SFTP is turned on, with error message "Erro= r waiting for file descriptor." =C2=A0(0.10-incubating). Somehow, this= happens on some servers, on some don't, but with the latest code, ever= ything work.

Marko

=D0=BF=D0=BE=D0=BD, 27. =D1=84=D0= =B5=D0=B1 2017. =D1=83 00:27 Marko Nikoli=C4=87 <marko.nikolic.= gm@gmail.com> =D1=98=D0=B5 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0= =BE/=D0=BB=D0=B0:
Thanks for the quick resp= onse! I'll try latest version and report back.
=
Regards,
Marko

=D0=BF=D0=BE=D0= =BD, 27. =D1=84=D0=B5=D0=B1 2017. =D1=83 00:23 Mike Jumper <mike.= jumper@guac-dev.org> =D1=98=D0=B5 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0= =B0=D0=BE/=D0=BB=D0=B0:
Mind building the l= atest from git master and giving it another shot? I believe we just fixed t= his:


- Mike


On Sun, Feb 26, 2017 at 6:00 AM, M= arko Nikoli=C4=87 <marko.= nikolic.gm@gmail.com> wrote:
Hello,=

I am using Guacamole RDP=C2=A0+ SSH connection and have some strange b= ehaviour after SFTP file transfer.

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

When the files are downloaded with= sftp=C2=A0client from terminal, with the same credentials, the server does= not lock files after download.

I have made tests with two differ= ent SFTP servers (Sysax and Rebex=C2=A0Tiny) and results are the same. The = logs from the Rebex=C2=A0SFTP server shows that after getting file from Gua= camole, the file on the server side is not closed, as shown below:

14:48:36.447 Debug SFTP: Getting item info on &#= 39;/Downloads/tightvnc-2.8.5-gpl-setup-64bit.msi': success.
14:48:36.509 Debug SFTP: Opening file '/Downloads/ti= ghtvnc-2.8.5-gpl-setup-64bit.msi' (Open, Read): success.
14:48:42.009 Debug SFTP: Getting item info on '/Downloa= ds': success.

When the same file is downloaded from ter= minal, there is file close in the logs:

= 14:47:34.118 Debug SFTP: Getting item info on '/Downloads/tightvnc-2.8.= 5-gpl-setup-64bit.msi': success.
14:47:34= .181 Debug SFTP: Opening file '/Downloads/tightvnc-2.8.5-gpl-setup-64bi= t.msi' (Open, Read): success.
14:47:34.22= 8 Debug SFTP: Closing file '/Downloads/tightvnc-2.8.5-gpl-setup-64bit.m= si': success.

Has anybody faced similar issues?

Regards,
Marko

--94eb2c18fd2a9db961054aa566cd--