Skip to content

Commit c8bc7a0

Browse files
author
Sheng Yang
committed
Revert "CLOUDSTACK-2534: Modify id_rsa.cloud's permission to 600"
This reverts commit 5d70e19. Wrong fix. The correct key is at: /var/cloudstack/management/.ssh/id_rsa
1 parent 5d70e19 commit c8bc7a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/vm/systemvm/injectkeys.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ copy_priv_key() {
6565
local newprivkey=$1
6666
diff -q $newprivkey $(dirname $0)/id_rsa.cloud && return 0
6767
$SUDO cp -fb $newprivkey $(dirname $0)/id_rsa.cloud
68-
$SUDO chmod 600 $(dirname $0)/id_rsa.cloud
68+
$SUDO chmod 644 $(dirname $0)/id_rsa.cloud
6969
return $?
7070
}
7171

0 commit comments

Comments
 (0)