feat(storer): stricter permissions on histfile
This commit is contained in:
parent
70b7f7aa72
commit
edd92d8f08
1 changed files with 1 additions and 1 deletions
|
@ -66,5 +66,5 @@ func write(history []string, histfile string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
return ioutil.WriteFile(histfile, b, 0644)
|
||||
return ioutil.WriteFile(histfile, b, 0600)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue