Merge pull request #9571 from Dzejrou/main

shim: Create pid-file with 0644 permissions
This commit is contained in:
Akihiro Suda 2023-12-25 09:49:27 +00:00 committed by GitHub
commit b7b808c36f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ func WritePidFile(path string, pid int) error {
if err != nil { if err != nil {
return err return err
} }
f, err := atomicfile.New(path, 0o666) f, err := atomicfile.New(path, 0o644)
if err != nil { if err != nil {
return err return err
} }