box icon indicating copy to clipboard operation
box copied to clipboard

copy should respect user and with_user statements

Open erikh opened this issue 9 years ago • 3 comments

Basically, copy always copies as root right now. If we getuid/getgid a username inside the container right before copying it, we can modify the tar data at just the right time, allowing this to happen appropriately.

This is a fair bit of work.

erikh avatar Oct 13 '16 04:10 erikh

On second thought, this is a problematic solution. instead, let's give the copy call a hash where they can overwrite user/group.

erikh avatar Oct 14 '16 01:10 erikh

Blocked by https://github.com/docker/docker/issues/21651, so we need to fix that first.

erikh avatar Oct 22 '16 07:10 erikh

Will be resolved partially by https://github.com/docker/docker/issues/28923 once it's implemented. Might require some more patches from us depending on design requirements.

erikh avatar Dec 10 '16 20:12 erikh