[X2go-Commits] x2goserver.git - master (branch) updated: 3.0.99-2-209-g2d69ae1

X2go dev team git-admin at x2go.org
Tue Aug 30 11:42:44 CEST 2011


The branch, master has been updated
       via  2d69ae1bf2f7d37b05fd3789e9559b302204440f (commit)
       via  258984227b5ba43e30dd0df37ff946d487a74517 (commit)
      from  ac2a2b7e284242172e571c72991429cb497a4646 (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 2d69ae1bf2f7d37b05fd3789e9559b302204440f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Aug 30 11:43:24 2011 +0200

    add permission setting for home dir

commit 258984227b5ba43e30dd0df37ff946d487a74517
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Aug 30 11:42:20 2011 +0200

    make sure permissions for /var/spool/x2goprint are set correctly

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

Summary of changes:
 INSTALL                    |    5 +++--
 debian/x2goserver.dirs     |    1 +
 debian/x2goserver.postinst |    5 +++++
 3 files changed, 9 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/INSTALL b/INSTALL
index 20a093a..15a0dfb 100644
--- a/INSTALL
+++ b/INSTALL
@@ -14,9 +14,10 @@ Set up x2goprint account and its group if they do not exist
 already:
 
  $ groupadd --system x2goprint
- $ useradd --system --no-create-home \
+ $ useradd --system \
            --shell /bin/false --home /var/spool/x2goprint x2goprint
-
+ $ chown x2goprint:x2goprint ~x2goprint
+ $ chmod 0770 ~x2goprint
 
 2.) INSTALL x2goserver FILES
 -----------------------------
diff --git a/debian/x2goserver.dirs b/debian/x2goserver.dirs
index 8699a0c..bcef06a 100644
--- a/debian/x2goserver.dirs
+++ b/debian/x2goserver.dirs
@@ -7,3 +7,4 @@ usr/lib/x2go
 usr/share/x2go
 usr/share/x2go/versions
 var/lib/x2go
+var/spool/x2goprint
diff --git a/debian/x2goserver.postinst b/debian/x2goserver.postinst
index d59b65d..257da39 100755
--- a/debian/x2goserver.postinst
+++ b/debian/x2goserver.postinst
@@ -116,6 +116,11 @@ case "$1" in
 			# and we need to respect the administrator's choices
 		fi
 
+		# make sure x2goprint spool dir permissions are set correctly
+		chown -R x2goprint:x2goprint /var/spool/x2goprint
+		# egid x2goprint needs write access to the spool dir
+		chmod 0770 /var/spool/x2goprint
+
 		### setgid section for x2goprint (X2go printing)
 
 		# the x2goprint command can only be run by users that are in group x2goprint


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