We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dd7975 commit e2080f5Copy full SHA for e2080f5
1 file changed
bin/ghe-restore
@@ -99,6 +99,8 @@ if $clean_restore; then
99
cat "$GHE_RESTORE_SNAPSHOT_PATH/manage-password" |
100
ghe-ssh "$host" -- \
101
"sudo -u git dd of='$GHE_REMOTE_DATA_USER_DIR/common/manage-password' 2>&1"
102
+ ghe-ssh "$host" -- \
103
+ "sudo -u git chmod 0600 '$GHE_REMOTE_DATA_USER_DIR/common/manage-password'"
104
fi
105
106
echo "
0 commit comments