X2Go Bug report logs - #942
File sharing permission issue between Windows and Linux

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Michael <ayuanx@gmail.com>

Date: Tue, 15 Sep 2015 02:05:02 UTC

Severity: normal

Found in version 4.0.5.0

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#942: File sharing permission issue between Windows and Linux
Reply-To: Michael <ayuanx@gmail.com>, 942@bugs.x2go.org
Resent-From: Michael <ayuanx@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: owner@bugs.x2go.org
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 15 Sep 2015 02:05:02 +0000
Resent-Message-ID: <handler.942.B.144228261620637@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 942
X-X2Go-PR-Package: (windows client:) x2goclient-4.0.5.0-2015.07.31-setup.exe;
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.144228261620637
          (code B); Tue, 15 Sep 2015 02:05:02 +0000
Received: (at submit) by bugs.x2go.org; 15 Sep 2015 02:03:36 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-ig0-f182.google.com (mail-ig0-f182.google.com [209.85.213.182])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A41693BC4A
	for <submit@bugs.x2go.org>; Tue, 15 Sep 2015 04:03:32 +0200 (CEST)
Received: by igbkq10 with SMTP id kq10so6048841igb.0
        for <submit@bugs.x2go.org>; Mon, 14 Sep 2015 19:03:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=+5k7S67awLWOnH/yV8tCbcTXDmwAGYRcId+Ut9q5unQ=;
        b=rjZupM79KuzLLl79XAMtzgUyqQqgxpIemkj+raithU5LmQ0rH1xks/m6KZDWZGWUm/
         rofh9j3fTL9vlnFqthnuDQThHdMGxADw5Js6Q74SX1F3UZS6huB5nKkRAp+8AFc2eC3m
         S1KsrEpui9mqmSa7ebrsExzjvbkcK6f1lRzJZGcW71OaKDwCcCWvm4Par5pXrCYc6m3d
         oScefyH9cfDEDsCxuFBDFYX6XxJ9xUEISmcxNjVdmeG8SKYXQ8mr/kD8X3ylDFU9X+yo
         qGO/v9Skn/1bj5+r3zor1rIK/sbAPnVTY4YBnr8xmT9oUkPQH287uLP34/maDVtPKNZA
         6lwg==
MIME-Version: 1.0
X-Received: by 10.50.225.66 with SMTP id ri2mr1524377igc.5.1442282611055; Mon,
 14 Sep 2015 19:03:31 -0700 (PDT)
Received: by 10.36.31.147 with HTTP; Mon, 14 Sep 2015 19:03:31 -0700 (PDT)
Date: Tue, 15 Sep 2015 12:03:31 +1000
Message-ID: <CAPuhghVKBTfFU70pNoZry-DRc9Ge+XsL4xF+MKL0yEqiWoEiUw@mail.gmail.com>
From: Michael <ayuanx@gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=001a1132f81eb2a3e5051fbf96c6
[Message part 1 (text/plain, inline)]
Package: (Windows client:) x2goclient-4.0.5.0-2015.07.31-setup.exe;
(Ubuntu server:) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1
Version: see above

On Windows client, if file shareing directory is set under
"C:\Users\%USER%\", then it can be accessed on Linux server.
However, if file sharing directory on Windows client is set out of the
above scope (e.g. "C:\foobar"), then it can't be accessed on Linux server
due to lack of r/w permission.

For Example:
A) File sharing on Windows is set to "C:\Users\ayuanx\Test", notice the
permission is "drwx".

$ ll ~/media/disk/
total 8.0K
drwx------ 3 ayuanx ayuanx 4.0K Sep 15 11:27 ./
drwx------ 5 ayuanx ayuanx 4.0K Sep 15 11:27 ../
drwx------ 1 ayuanx ayuanx    0 Sep 15 11:28 _cygdrive_C_Users_ayuanx_Test/

$ ll ~/media/disk/_cygdrive_C_Users_ayuanx_Test/
total 4.0K
drwx------ 1 ayuanx ayuanx    0 Sep 15 11:28 ./
drwx------ 3 ayuanx ayuanx 4.0K Sep 15 11:27 ../
-rwx------ 1 ayuanx ayuanx    0 Sep 15 10:45 New Text Document.txt*

$ touch write_test.txt; ll
total 4.0K
drwx------ 1 ayuanx ayuanx    0 Sep 15 11:59 ./
drwx------ 3 ayuanx ayuanx 4.0K Sep 15 11:27 ../
-rwx------ 1 ayuanx ayuanx    0 Sep 15 10:45 New Text Document.txt*
-rw-r--r-- 1 ayuanx ayuanx    0 Sep 15 11:59 write_test.txt


B) File sharing on Windows is set to "C:\Temp", notice the permission is
"d", not accessible at all.

$ ll ~/media/disk/
total 8.0K
drwx------ 3 ayuanx ayuanx 4.0K Sep 15 10:46 ./
drwx------ 5 ayuanx ayuanx 4.0K Sep 15 10:46 ../
d--------- 1 ayuanx ayuanx    0 Sep 15 10:45 _cygdrive_C_Temp/

$ cd ~/media/disk/_cygdrive_C_Temp/
bash: cd: /home/ayuanx/media/disk/_cygdrive_C_Temp/: Permission denied
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:03:28 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.