Merge pull request #1263 from jlduran/fix-key-file-permissions

Fix key file permissions
This commit is contained in:
neil 2018-02-14 17:31:40 +08:00 committed by GitHub
commit 6426e044d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4545,7 +4545,7 @@ _installcert() {
cat "$CERT_KEY_PATH" >"$_real_key" cat "$CERT_KEY_PATH" >"$_real_key"
else else
cat "$CERT_KEY_PATH" >"$_real_key" cat "$CERT_KEY_PATH" >"$_real_key"
chmod 700 "$_real_key" chmod 600 "$_real_key"
fi fi
fi fi