Merge pull request #9571 from Dzejrou/main
shim: Create pid-file with 0644 permissions
This commit is contained in:
commit
b7b808c36f
@ -126,7 +126,7 @@ func WritePidFile(path string, pid int) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
f, err := atomicfile.New(path, 0o666)
|
||||
f, err := atomicfile.New(path, 0o644)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user