Merge pull request #1274 from jlduran/add-account-key-permissions

Set the account key file permissions
This commit is contained in:
neil 2018-02-17 10:04:06 +08:00 committed by GitHub
commit 11a9f1d1f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1281,6 +1281,7 @@ _create_account_key() {
else
#generate account key
_createkey "$length" "$ACCOUNT_KEY_PATH"
chmod 600 "$ACCOUNT_KEY_PATH"
fi
}