-
Notifications
You must be signed in to change notification settings - Fork 5
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
User mapping query #8
Comments
Good question, I don't know the answer. I'd have thought that if you mount |
Sorry to disappoint, but I dont know the answer neither 🙈 . But I could also do some tests. Can you also reproduce this with the alpine image? |
Here's a test repo: https://github.com/clbarnes/tectonic-docker-permissions . It has While the simple solution would seem to be "don't mix dockerised and non-dockerised builds", it's not quite so simple if e.g. you're using an IDE which runs builds on its own in the background for smart highlighting purposes. |
I'm using an image based on this one, and am struggling with file permissions.
If do not include a
--user
argument indocker run
, then the artifacts produced by the image are owned by root rather than my local user. However, if I include--user "$(id -u):$(id -g)"
, then I get a "permission denied" error from tectonic (when there are no root-owned files in the local directory, which is mounted as a volume).Any thoughts on why this might be and how to work around it?
The text was updated successfully, but these errors were encountered: