From 038bade0456a073dac8d72781aac4f40b4e417eb Mon Sep 17 00:00:00 2001 From: Muhammad Hewedy Date: Mon, 27 Apr 2020 03:02:01 +0300 Subject: [PATCH] set appropriate permissions to the private key --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index b791779..dea83c5 100755 --- a/install.sh +++ b/install.sh @@ -220,11 +220,13 @@ configure_vermin() { darwin|linux) need_cmd mkdir need_cmd curl + need_cmd chmod info "Configuring vermin" mkdir -pv "$HOME/.vermin/vms" mkdir -pv "$HOME/.vermin/images" curl -s https://raw.githubusercontent.com/mhewedy/vermin/master/etc/keys/vermin_rsa > "$HOME/.vermin/vermin_rsa" + chmod 0600 "$HOME/.vermin/vermin_rsa" ;; *) exit_with "Unrecognized sys when installing: ${sys}" 5