Files
containerd/runtime
Jaroslav Jindrak 8d82242eb5 shim: Create address file with 0644 permissions
Fixes ae70213

In ae70213 the WritePidFile and WriteAddress functions were
changed to use AtomicFile instead of os.CreateFile. However,
AtomicFile creates a temporary file and then changes its permissions
with os.Chmod which alters the previously observed behavior of
os.CreateFile which takes the system's umask into account.

This means that on Linux-based systems these files suddenly
became world writable (#9363).

Signed-off-by: Jaroslav Jindrak <dzejrou@gmail.com>
2023-12-23 21:46:12 +01:00
..
2022-07-22 19:38:45 -07:00
2023-11-07 22:21:37 +08:00
2018-02-19 10:32:26 +09:00
2021-07-23 10:04:46 -07:00
2022-08-10 14:02:53 -07:00