fix(config) set file mode permissions to readable only by current user (#61)

This commit is contained in:
coderaiser 2018-06-14 16:09:39 +03:00
parent 255621073d
commit fa619b59d6
2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ function manage(key, value) {
}
function _save(callback) {
writejson(ConfigHome, config, callback);
writejson(ConfigHome, config, {mode: 0o600}, callback);
}
function listen(sock, auth) {