From 7a1e1d2e0ab22c1c16b0b6324114d45c47b08981 Mon Sep 17 00:00:00 2001 From: Neal Date: Wed, 5 Aug 2020 12:13:37 -0500 Subject: [PATCH] fix: update linux permissions on files --- cmd/secret-vault/read.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/secret-vault/read.go b/cmd/secret-vault/read.go index 8e786ec..a96bf2d 100644 --- a/cmd/secret-vault/read.go +++ b/cmd/secret-vault/read.go @@ -99,7 +99,7 @@ func (r *Read) Exec(v *vault.Client) error { // set the secret in the Vela temp build volume logrus.Tracef("write data to file %s", path) - err = a.WriteFile(path, []byte(v.(string)), 0444) + err = a.WriteFile(path, []byte(v.(string)), 0600) if err != nil { return err }