feat(storer): stricter permissions on histfile

This commit is contained in:
yory8 2020-05-07 19:24:26 +02:00
parent 70b7f7aa72
commit edd92d8f08

View file

@ -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)
}