You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ed...@apache.org on 2013/06/20 03:17:42 UTC

[21/51] [abbrv] git commit: updated refs/heads/object_store to 9aec9c6

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/object_store
Commit: 5d70e1928c19dc18b0479354b24649081f79c277
Parents: a16af43
Author: Sheng Yang <sh...@citrix.com>
Authored: Tue Jun 18 17:34:21 2013 -0700
Committer: Sheng Yang <sh...@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 $?
 }