Skip to content

Commit b57c509

Browse files
authored
Include group write permission in runtime directories (#49)
Apply changes that were merged to beats repo [here](https://github.com/elastic/beats/pull/30869/files#r828327477)
1 parent 80cf866 commit b57c509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paths/paths.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (paths *Path) InitPaths(cfg *Path) error {
8585
}
8686

8787
// make sure the data path exists
88-
err = os.MkdirAll(paths.Data, 0750)
88+
err = os.MkdirAll(paths.Data, 0770)
8989
if err != nil {
9090
return fmt.Errorf("failed to create data path %s: %w", paths.Data, err)
9191
}

0 commit comments

Comments
 (0)