[X2go-Commits] x2gognomebindings.git - master (branch) updated: 2.0.1.5-5-g2668ba5

X2Go dev team git-admin at x2go.org
Tue Jun 26 13:49:00 CEST 2012


The branch, master has been updated
       via  2668ba5678645266c8a8f7570844348bd0db0416 (commit)
       via  4bb6242d3152fd696434e27e607bc9998c815853 (commit)
      from  958560473227254b861cc03fdf12dddac05b8829 (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 2668ba5678645266c8a8f7570844348bd0db0416
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jun 26 13:48:53 2012 +0200

    drop ENV{'TMP'}, directly address /tmp

commit 4bb6242d3152fd696434e27e607bc9998c815853
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Jun 21 13:21:25 2012 +0200

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

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

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

The diff of changes is:
diff --git a/bin/x2goumount-session-gnome b/bin/x2goumount-session-gnome
index 7133d07..99366dd 100755
--- a/bin/x2goumount-session-gnome
+++ b/bin/x2goumount-session-gnome
@@ -31,6 +31,8 @@ my $dir=<F>;
 my $session=<F>;
 close(F);
 
+my $tmp_dir = '/tmp';
+
 $session=~s/\n//;
 
 chomp($dir);
@@ -43,7 +45,7 @@ if($ENV{'GNOME_DESKTOP_SESSION_ID'} ne "")
      $use_zenity=1;
 }
 
-if(system( "fusermount -u $dir" ) == 0)
+if(system( "cd $tmp_dir && fusermount -u $dir && cd - >/dev/null" ) == 0)
 {
      unlink($fname);
      db_deletemount( $session, $dir);
diff --git a/debian/changelog b/debian/changelog
index 9835c14..1cb678a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
 x2gognomebindings (2.0.1.6-0~x2go1) UNRELEASED; urgency=low
 
   * New upstream version (2.0.1.6):
-    - Continue development...
+    - Make sure we run fusermount from within a directory that
+      the user has read access to.
   * Depend on desktop-file-utils (postinst uses script
     ,,update-desktop-database'').
 


hooks/post-receive
-- 
x2gognomebindings.git (GNOME bindings for X2Go)

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 "x2gognomebindings.git" (GNOME bindings for X2Go).




More information about the x2go-commits mailing list