X2Go Bug report logs - #331
Default umask when mounting sshfs tunnel

version graph

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

Reported by: Helmer Teles <helmer.teles@mykolab.com>

Date: Wed, 23 Oct 2013 13:03:01 UTC

Severity: normal

Tags: pending

Found in version 4.0.1.6-0~712~precise1

Fixed in version 4.0.1.7

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 23 Oct 2013 12:54:16 +0000
From helmer.teles@mykolab.com  Wed Oct 23 14:54:15 2013
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	HTML_MESSAGE,RCVD_IN_DNSWL_BLOCKED,URIBL_BLOCKED autolearn=ham version=3.3.2
X-Greylist: delayed 563 seconds by postgrey-1.34 at ymir; Wed, 23 Oct 2013 14:54:15 CEST
Received: from mx01.mykolab.com (mx01.mykolab.com [95.128.36.1])
	by ymir (Postfix) with ESMTPS id 7BD7F5DA79
	for <submit@bugs.x2go.org>; Wed, 23 Oct 2013 14:54:15 +0200 (CEST)
X-Virus-Scanned: amavisd-new at kolabsys.net
Sender: helmer.teles@mykolab.com
From: Helmer Teles <helmer.teles@mykolab.com>
To: submit@bugs.x2go.org
Subject: Default umask when mounting sshfs tunnel
Date: Wed, 23 Oct 2013 13:44:47 +0100
Message-ID: <1456688.sWGnl1COIA@zen-touch>
Content-Type: multipart/mixed; boundary="nextPart3529790.WpD8B2inZL"
Content-Transfer-Encoding: 7Bit
[Message part 1 (text/plain, inline)]
Package: x2goserver
Version: 4.0.1.6-0~712~precise1
Tag: Patch

Hello dear mates.


Just had a problem that when a user moves or copy a file from the mounted sshfs dir to 
a shared directory on the x2goserver, if this is a shared folder for a group with 
respective ACL's we've got a problem with the final permissions. 


The easy way to solve this is to change the x2gomountdirs to include the umask param. 


Also included is the modification required at /etc/x2goserver.conf 
If stay uncommented the umask will stay as is on the server side ( client local computer 
) and the value provided ( 0117 ) will make all files to be with rw-rw---- 


P.S: As i don't have the original x2goserver.conf don't apply the diff as is, but use it as 
reference please. 


the diff's are attached as Mr. Michael kindly asked.


Best regards,


--
Com os melhores cumprimentos. 
Helmer Teles 

http://hteles.wordpress.com[1]

"Sent from my Linux Device"
Please don't send me proprietary file formats, use ISO standard ODF instead (ISO/IEC 
26300) 



--------
[1] http://hteles.wordpress.com/
[Message part 2 (text/html, inline)]
[x2gomountdirs.patch (application/octet-stream, attachment)]
[x2goserver.conf.patch (application/octet-stream, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 29 06:40:39 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.