f829291e78f9d587d834be1c91607ab8ef25dac5
In commit 3dfc910d7774d57c533b067fbe59d6b24dd803cd we changed from syscall.Chmod() to os.Chmod(), but these take a different form of the Mode argument. The sycall one takes the raw linux form, wheras os.Chmod takes the os.FileMode form, and they differ for the higher bits (setuid, setgid, etc). The raw tar header uses a form which is compatible with the syscalls, but not the go calls. We fix this by using hdr.FileInfo() which properly converts the mode to what go expects. Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson) Upstream-commit: 5ba24629610c27f08b54ff4c1f000ad6d787c156 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%