diff --git a/storer.go b/storer.go index 2d9c8b1..2015599 100644 --- a/storer.go +++ b/storer.go @@ -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) }