[X2Go-Commits] x2goserver.git - build-baikal (branch) updated: 3.1.1.3-57-gb55d2e2

X2Go dev team git-admin at x2go.org
Fri Jan 3 20:51:33 CET 2014


The branch, build-baikal has been updated
       via  b55d2e2d9f29e215dd86b5a2dc4f0e2b8e0e5aef (commit)
      from  cab3afacac64ddc20569521025b238fd1e270ce3 (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/x2goserver-common.postinst   |    7 ++++++-
 debian/x2goserver-printing.postinst |    1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/x2goserver-common.postinst b/debian/x2goserver-common.postinst
index 7c0123b..03fb701 100755
--- a/debian/x2goserver-common.postinst
+++ b/debian/x2goserver-common.postinst
@@ -36,6 +36,9 @@ case "$1" in
 			adduser --system --no-create-home \
 			        --disabled-password --disabled-login \
 			        --shell /bin/false --group --home /var/lib/x2go x2gouser
+
+			# make sure the home directory belongs to x2gouser:x2gouser
+			chown x2gouser:x2gouser /var/lib/x2go -Rf
 		else
 			echo "User x2gouser already exists." >&2
 			# make sure all settings are appropriate
@@ -50,8 +53,10 @@ case "$1" in
 			fi
 			# we leave user shell alone. we have never set this wrongly
 			# and we need to respect the administrator's choices
-		fi
 
+			# make sure the home directory belongs to x2gouser:x2gouser
+			chown x2gouser:x2gouser /var/lib/x2go -Rf
+		fi
 		;;
 
 	abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/debian/x2goserver-printing.postinst b/debian/x2goserver-printing.postinst
index b17c55e..92d8cec 100755
--- a/debian/x2goserver-printing.postinst
+++ b/debian/x2goserver-printing.postinst
@@ -52,6 +52,7 @@ case "$1" in
 			fi
 			# we leave user shell alone. we have never set this wrongly
 			# and we need to respect the administrator's choices
+
 		fi
 
 		# make sure x2goprint spool dir permissions are set correctly


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