[X2Go-Commits] x2gomatebindings.git - build-main (branch) updated: 4bb6242d3152fd696434e27e607bc9998c815853
X2Go dev team
git-admin at x2go.org
Fri Jul 26 18:33:38 CEST 2013
The branch, build-main has been updated
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 -----------------------------------------------------------------
-----------------------------------------------------------------------
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..60436ce 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 = $ENV{'TMP'} || '/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
--
x2gomatebindings.git (x2gomatebindings upstream project)
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 "x2gomatebindings.git" (x2gomatebindings upstream project).
More information about the x2go-commits
mailing list