From fa6546a788bc73161fa1542cfa94d268c2b50e5c Mon Sep 17 00:00:00 2001 From: Richard Weston Date: Sun, 1 Aug 2021 17:59:01 +0100 Subject: [PATCH] fix: Lower permissions to clear golint sec warning --- cmd/aztx/contexts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/aztx/contexts.go b/cmd/aztx/contexts.go index 542a51d..7810347 100644 --- a/cmd/aztx/contexts.go +++ b/cmd/aztx/contexts.go @@ -104,6 +104,6 @@ func WriteAzureProfile(file File, id uuid.UUID, outFile string) error { return err } - err = ioutil.WriteFile(outFile, byteValue, 0644) + err = ioutil.WriteFile(outFile, byteValue, 0600) return err }