Revert "CLOUDSTACK-2534: Modify id_rsa.cloud's permission to 600"
This reverts commit 5d70e1928c19dc18b0479354b24649081f79c277. Wrong fix. The correct key is at: /var/cloudstack/management/.ssh/id_rsa Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c8bc7a0a Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c8bc7a0a Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c8bc7a0a Branch: refs/heads/object_store Commit: c8bc7a0af51b14c41184274b8ddb3241e73992d4 Parents: 5d70e19 Author: Sheng Yang <[email protected]> Authored: Tue Jun 18 18:02:32 2013 -0700 Committer: Sheng Yang <[email protected]> Committed: Tue Jun 18 18:02:32 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/c8bc7a0a/scripts/vm/systemvm/injectkeys.sh ---------------------------------------------------------------------- diff --git a/scripts/vm/systemvm/injectkeys.sh b/scripts/vm/systemvm/injectkeys.sh index f33aa50..c17a3c6 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 600 $(dirname $0)/id_rsa.cloud + $SUDO chmod 644 $(dirname $0)/id_rsa.cloud return $? }
