Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

copy should respect user and with_user statements #5

Open
erikh opened this issue Oct 13, 2016 · 3 comments
Open

copy should respect user and with_user statements #5

erikh opened this issue Oct 13, 2016 · 3 comments

Comments

@erikh
Copy link
Member

erikh commented Oct 13, 2016

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
Copy link
Member Author

erikh commented Oct 14, 2016

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

@erikh
Copy link
Member Author

erikh commented Oct 22, 2016

Blocked by moby/moby#21651, so we need to fix that first.

@erikh
Copy link
Member Author

erikh commented Dec 10, 2016

Will be resolved partially by moby/moby#28923 once it's implemented. Might require some more patches from us depending on design requirements.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant