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

running as root causes tar to try and set owner/group #40

Open
squeedee opened this issue Feb 11, 2015 · 1 comment
Open

running as root causes tar to try and set owner/group #40

squeedee opened this issue Feb 11, 2015 · 1 comment

Comments

@squeedee
Copy link

We run mini_portile in a docker container, which defaults to a root user.
When tar (on ubuntu lucid) is asked to untar a src distribution, it defaults to setting owner and group, which it cannot do inside the container. Our workaround is to pass --no-same-owner to tar. --no-same-owner is the default behaviour in tar when the user is not root.

Currently we monkey patch mini_portile - do you have any recommendations?

There are a lot of integration environments for mini_portile, so not sure how reliable this patch would be for all users of mini_portile.

@flavorjones
Copy link
Owner

Thanks for reporting this. Let me look and propose a solution.

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

No branches or pull requests

2 participants