[X2go-Commits] x2gobroker.git - master (branch) updated: 0.0.0.1-55-g8581564

X2Go dev team git-admin at x2go.org
Thu Feb 21 11:26:53 CET 2013


The branch, master has been updated
       via  858156403553f936da5eb1765a855c12991e8329 (commit)
      from  5e3b7181c636d462daa68aa83ec00a78554808be (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 858156403553f936da5eb1765a855c12991e8329
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Feb 21 11:29:45 2013 +0100

    fix file extension of pubkey

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

Summary of changes:
 sbin/x2gobroker-keygen |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/sbin/x2gobroker-keygen b/sbin/x2gobroker-keygen
index 11751e8..2307dd6 100755
--- a/sbin/x2gobroker-keygen
+++ b/sbin/x2gobroker-keygen
@@ -124,7 +124,7 @@ if __name__ == '__main__':
     pubkey_file = open('{home}/.ssh/id_rsa.pub'.format(home=broker_home),'w')
     pubkey_file.write("ssh-rsa " +key.get_base64())
     pubkey_file.close()
-    os.chown('{home}/.ssh/id_rsa'.format(home=broker_home), broker_uidnumber, broker_gidnumber)
-    os.chmod('{home}/.ssh/id_rsa'.format(home=broker_home), 0600)
+    os.chown('{home}/.ssh/id_rsa,pub'.format(home=broker_home), broker_uidnumber, broker_gidnumber)
+    os.chmod('{home}/.ssh/id_rsa.pub'.format(home=broker_home), 0600)
     logger_broker.info('  Public key written to file {key_file}'.format(key_file='{home}/.ssh/id_rsa.pub'.format(home=broker_home)))
 


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

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 "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list