mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Perform chmod before rename with the atomic file writer. Ensure writeErr is set on short write and file is removed on write error. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan) Upstream-commit: 1cd74902810b0eefddd173239cd95b506b34e678 Component: engine