mirror of
https://github.com/docker/cli.git
synced 2026-09-25 07:50:37 -05:00
0db82d1f6cab36ae8c1a94d1d86c337f4da9caa7
Doing a chown/chmod automatically can cause `EPERM` in some cases (e.g. with an NFS mount). Currently Docker will always call chown+chmod on a volume path unless `:nocopy` is passed in, but we don't need to make these calls if the perms and ownership already match and potentially avoid an uneccessary `EPERM`. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: f05a023760493dbd41fbfc1bb76ad334b579e94e Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%