cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject git commit: updated refs/heads/master to 5d70e19
Date Wed, 19 Jun 2013 00:35:26 GMT
Updated Branches:
  refs/heads/master a16af4380 -> 5d70e1928


CLOUDSTACK-2534: Modify id_rsa.cloud's permission to 600

644 is too open for ssh.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5d70e192
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5d70e192
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5d70e192

Branch: refs/heads/master
Commit: 5d70e1928c19dc18b0479354b24649081f79c277
Parents: a16af43
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Tue Jun 18 17:34:21 2013 -0700
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Tue Jun 18 17:34:21 2013 -0700

----------------------------------------------------------------------
 scripts/vm/systemvm/injectkeys.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5d70e192/scripts/vm/systemvm/injectkeys.sh
----------------------------------------------------------------------
diff --git a/scripts/vm/systemvm/injectkeys.sh b/scripts/vm/systemvm/injectkeys.sh
index c17a3c6..f33aa50 100755
--- a/scripts/vm/systemvm/injectkeys.sh
+++ b/scripts/vm/systemvm/injectkeys.sh
@@ -65,7 +65,7 @@ copy_priv_key() {
   local newprivkey=$1
   diff -q $newprivkey $(dirname $0)/id_rsa.cloud && return 0
   $SUDO cp -fb $newprivkey $(dirname $0)/id_rsa.cloud
-  $SUDO chmod 644 $(dirname $0)/id_rsa.cloud
+  $SUDO chmod 600 $(dirname $0)/id_rsa.cloud
   return $?
 }
 


Mime
View raw message