[X2go-Commits] x2goserver.git - master (branch) updated: 3.1.1.0-27-gf9d2dc4

X2Go dev team git-admin at x2go.org
Thu Jun 21 13:22:01 CEST 2012


The branch, master has been updated
       via  f9d2dc4b501f959472d20899732bd25d8f269c9a (commit)
      from  2e471b45ddf6a9cd7dca06d3b0f276ef35a3788a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f9d2dc4b501f959472d20899732bd25d8f269c9a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Jun 21 13:21:58 2012 +0200

    Make sure we run fusermount from within a directory that the user has read access to.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                  |    2 ++
 x2goserver/bin/x2goumount-session |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 54de803..0ccfb0a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ x2goserver (3.1.1.1-0~x2go1) UNRELEASED; urgency=low
       parameters.
     - For finished sessions purge all mount points that still hover in the
       DB's mounts table.
+    - Make sure we run fusermount from within a directory that the user has read
+      access to.
   * Depend on x2goagent (>= 2:3.5.0.12), make sure that x2goagent has the patch
     105_nxagent_export-remote-keyboard-config.full.patch included.
 
diff --git a/x2goserver/bin/x2goumount-session b/x2goserver/bin/x2goumount-session
index f79a733..6d5f062 100755
--- a/x2goserver/bin/x2goumount-session
+++ b/x2goserver/bin/x2goumount-session
@@ -124,7 +124,7 @@ for ($i=0;$i<@outp;$i++)
 break:
 	if ($found)
 	{
-		if (system( "fusermount -u @line[1]" ) == 0)
+		if (system( "cd $tmp_dir && fusermount -u @line[1] && cd - >/dev/null" ) == 0)
 		{
 			syslog('notice', "successfully unmounted @line[1]");
 			$found=0;


hooks/post-receive
-- 
x2goserver.git (X2Go Server)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2Go Server).




More information about the x2go-commits mailing list