[X2Go-Commits] x2goserver.git - build-baikal (branch) updated: 3.0.99.8-36-ge9cf74e
X2Go dev team
git-admin at x2go.org
Fri Jan 3 18:04:35 CET 2014
The branch, build-baikal has been updated
via e9cf74ecc5138a053ecc0bd1e078aa1208c11a3a (commit)
from 92525697feca404e86cf6bc2155515c37ed43299 (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:
debian/changelog | 2 ++
x2goserver-printing/bin/x2goprint | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 9ba170b..3c7785b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ x2goserver (3.0.99.9-0~x2go1) UNRELEASED; urgency=low
- Re-add x2gosetkeyboard via new subproject x2goserver-pyhoca.
- Add man page for x2gosessiontitle.
- Use cmd line parameters when calling x2gosessiontitle.
+ - Call x2golistmounts with user privileges instead of using db_getmounts
+ in x2goprint script.
* Add psmisc package as dependency.
* Add new binary package to x2goserver source: x2goserver-pyhoca.
* x2goserver package suggests x2goserver-pyhoca.
diff --git a/x2goserver-printing/bin/x2goprint b/x2goserver-printing/bin/x2goprint
index fa3e4ae..c225d9e 100755
--- a/x2goserver-printing/bin/x2goprint
+++ b/x2goserver-printing/bin/x2goprint
@@ -100,7 +100,7 @@ chown $uid, $gid, "$spooltmp";
chmod 0700, "$spooltmp";
# this last part mainly uses the session user's privileges
-my ($mounts)=db_getmounts($session);
+my ($mounts)=`su $user -c "x2golistmounts $session"`;
if ( $mounts=~m/$spooldir/)
{
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