Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Volumes are not accessible to non-root container users #50

Closed
buvoli opened this issue Mar 18, 2020 · 0 comments
Closed

Docker Volumes are not accessible to non-root container users #50

buvoli opened this issue Mar 18, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@buvoli
Copy link
Member

buvoli commented Mar 18, 2020

This affects cjr $ command when run with --file-access=volume. Since files in all docker volumes are owned by root (moby/moby#3124) non root container users cannot access them. If an image creates non root users then the cjr $ commands will fail if they requires file manipulation. A possible fix would be to introduce new flag for docker. If selected the chown files to (id -i) after rsync.

@buvoli buvoli added the bug Something isn't working label Mar 18, 2020
@buvoli buvoli self-assigned this Mar 18, 2020
@buvoli buvoli closed this as completed in 054d08c Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant