This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2gobroker. from d8ecd2c follow-up commit for last commit new 39f12ac fix chown/chmod on RuntimeDir The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: sbin/x2gobroker-authservice | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gobroker. commit 39f12ac20204217ec9d8268106feba71d3edf51b Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Oct 29 15:37:27 2014 +0100 fix chown/chmod on RuntimeDir --- sbin/x2gobroker-authservice | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sbin/x2gobroker-authservice b/sbin/x2gobroker-authservice index 31e46be..52b2367 100755 --- a/sbin/x2gobroker-authservice +++ b/sbin/x2gobroker-authservice @@ -269,9 +269,10 @@ if __name__ == '__main__': os.remove(socket_file) if not os.path.exists(os.path.dirname(socket_file)): - os.makedirs(os.path.dirname(os.path.dirname(socket_file))) - os.mkdir(os.path.dirname(socket_file), 0770) - os.chown(os.path.dirname(socket_file), cmdline_args.owner, cmdline_args.group) + os.makedirs(os.path.dirname(socket_file)) + + os.chown(os.path.dirname(socket_file), getpwnam(cmdline_args.owner).pw_uid, getpwnam(cmdline_args.group).pw_gid) + os.chmod(os.path.dirname(socket_file), int(cmdline_args.permissions, 8)) AuthService(socket_file, owner=cmdline_args.owner, group_owner=cmdline_args.group, permissions=cmdline_args.permissions) atexit.register(cleanup_on_exit) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git