The branch, master has been updated via d389d5d21ef8531b55314299a408b654cef146e5 (commit) from bd2cfe47fb1abc96032d22ec65e74b253b9eb7ca (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 d389d5d21ef8531b55314299a408b654cef146e5 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed May 29 00:14:50 2013 +0200 Make x2gomountdirs / x2goumount-session UNC path aware. ----------------------------------------------------------------------- Summary of changes: debian/changelog | 1 + x2goserver/bin/x2gomountdirs | 2 ++ x2goserver/bin/x2goumount-session | 13 ++++++++++--- x2goserver/share/x2gofeature.d/x2goserver.features | 1 + 4 files changed, 14 insertions(+), 3 deletions(-) The diff of changes is: diff --git a/debian/changelog b/debian/changelog index 3db6fb9..d1131ad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -55,6 +55,7 @@ x2goserver (4.0.0.3-0~x2go1) UNRELEASED; urgency=low * New upstream version (4.0.0.3): - Make pre-set DESTDIR and PREFIX traverse through all Makefiles. Do not include DESTDIR in Makefile-hard-coded path in x2gosqlitewrapper. + - Make x2gomountdirs / x2goumount-session UNC path aware. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Sun, 19 May 2013 15:02:53 +0200 diff --git a/x2goserver/bin/x2gomountdirs b/x2goserver/bin/x2gomountdirs index 5d8e386..b86fe1a 100755 --- a/x2goserver/bin/x2gomountdirs +++ b/x2goserver/bin/x2gomountdirs @@ -238,6 +238,7 @@ for (my $i=0;$i<@dirs;$i++) $p=~s/ /_/g; $p=~s/~_cygdrive_//; $p=~s/~_windrive_//; + $p=~s/~_uncpath_//; $p=~s/~//g; mkdir("$this_mdir/$p"); $mntpath="$this_mdir/$p"; @@ -296,6 +297,7 @@ for (my $i=0;$i<@dirs;$i++) my $p=@dirs[$i]; $p=~s/\/cygdrive\///; $p=~s/\/windrive\///; + $p=~s/\/uncpath\///; $p=~s/ /_/g; $p=~s/\//_/g; $fname="$fname/$p"; diff --git a/x2goserver/bin/x2goumount-session b/x2goserver/bin/x2goumount-session index ff3de4e..e86525e 100755 --- a/x2goserver/bin/x2goumount-session +++ b/x2goserver/bin/x2goumount-session @@ -99,19 +99,25 @@ for ($i=0;$i<@outp;$i++) { if (@line[1] ne $only_path) { - # this is for Python X2Go, the base of Windows mounted shares starts with _windrive, not _cygdrive + # this is for Python X2Go, the base of Windows mounted shares starts with _windrive or _uncpath, not _cygdrive my $only_path_windrive=$only_path; + my $only_path_uncpath=$only_path; $only_path_windrive=~ s/_cygdrive_/_windrive_/; + $only_path_uncpath=~ s/_cygdrive_/_uncpath_/; - if (@line[1] ne $only_path_windrive) + if ((@line[1] ne $only_path_windrive) && (@line[1] ne $only_path_uncpath)) { syslog('debug', "skipping non-requested path @line[1]"); goto cont; } - else + if (@line[1] e $only_path_windrive) { $only_path = $only_path_windrive; } + if (@line[1] e $only_path_uncpath) + { + $only_path = $only_path_uncpath; + } } } my $j; @@ -154,6 +160,7 @@ break: $remote=~s/\/cygdrive\///; $remote=~s/\/windrive\///; + $remote=~s/\/uncpath\///; $remote=~s/\//_/g; $remote=~s/ /_/g; $remote=~s/\\040/_/g; diff --git a/x2goserver/share/x2gofeature.d/x2goserver.features b/x2goserver/share/x2gofeature.d/x2goserver.features index 4a123f3..b910024 100755 --- a/x2goserver/share/x2gofeature.d/x2goserver.features +++ b/x2goserver/share/x2gofeature.d/x2goserver.features @@ -37,6 +37,7 @@ case "$X2GO_FEATURE" in "X2GO_SERVERSIDE_DESKTOPCOMMANDS") echo "ok"; exit 0;; "X2GO_SET_KEYBOARD") echo "ok"; exit 0;; "X2GO_LIST_SHADOWSESSIONS") echo "ok"; exit 0;; + "X2GO_MOUNT_UNCPATHS") echo "ok"; exit 0;; *) exit -1;; esac 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).