mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix(config) set file mode permissions to readable only by current user (#61)
This commit is contained in:
parent
255621073d
commit
fa619b59d6
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue