mirror of
https://github.com/docker/cli.git
synced 2026-08-31 02:24:13 -05:00
84b4aeca212329d415e00ce0a4429c309fc1eac0
There are some changes here that make the file metadata better match the layer files: * Set the mode of the file after the chown, as otherwise the per-group/uid specific flags and e.g. sticky bit is lost * Use lchown instead of chown * Delay mtime updates to after all other changes so that later file creation doesn't change the mtime for the parent directory * Use Futimes in combination with O_PATH|O_NOFOLLOW to set mtime on symlinks Upstream-commit: 5d2ace3424516bd7cc8d4a57fcaddd00fa1c4b5d Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%