From edd92d8f08ce36be68bb677d45607e7afe9f9c8c Mon Sep 17 00:00:00 2001 From: yory8 Date: Thu, 7 May 2020 19:24:26 +0200 Subject: [PATCH] feat(storer): stricter permissions on histfile --- storer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }