From 053fc5258b6cdc5083aa4df0e4acf26a641cb3d0 Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Sun, 17 Dec 2023 21:08:52 +0100 Subject: [PATCH] utils: fix service file permissions Signed-off-by: Morten Linderud --- utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils.go b/utils/utils.go index 3019ef2..eddb105 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -91,7 +91,7 @@ func installUnits(installPath string, files map[string][]byte) (err error) { for name, data := range files { servicePath := path.Join(installPath, name) - f, err := os.OpenFile(servicePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0o640) + f, err := os.OpenFile(servicePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0o644) if err != nil { return err }