mirror of
https://github.com/moby/moby.git
synced 2026-08-11 17:48:17 +00:00
Previously the daemon forced its umask to 0022, which silently stripped the group/other-write bits from any explicitly requested file mode. This caused e.g. `COPY --chmod=777` to result in 0755 rather than 0777. Clear the umask so explicit modes are honored. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>