Skip to content

Commit

Permalink
Merge pull request containerd#9571 from Dzejrou/main
Browse files Browse the repository at this point in the history
shim: Create pid-file with 0644 permissions
  • Loading branch information
AkihiroSuda authored Dec 25, 2023
2 parents 124bc0d + 9d32841 commit b7b808c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/v2/shim/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b7b808c

Please sign in to comment.