ADD --chown does not chown the created folders #2415
Labels
area/dockerfile-command
For all bugs related to dockerfile file commands
area/permissions
categorized
cmd/add
differs-from-docker
issue/chown
needs-follow-up
ok-to-close?
possible-dupe
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
works-with-docker
Actual behavior
Running ADD with chwon within a context with USER does not create the dir with the right perms
Expected behavior
Creating a directory needs to allow the user to edit it.
In docker, I get :
In kaniko, I get :
To Reproduce
Steps to reproduce the behavior:
--chown
a file with a target folder that does not existAdditional Information
Dockerfile (this is the only context)
The command I run :
Build sha :
sha256:ac169723b2076f9d5804f4bc05c98397e286da6fdcdd5a09fdc179f06ccb3be1
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: