Skip to content

Commit

Permalink
utils: fix service file permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Morten Linderud <morten@linderud.pw>
  • Loading branch information
Foxboron committed Dec 17, 2023
1 parent 1dbece4 commit 053fc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 053fc52

Please sign in to comment.