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

Add Docker workaround to avoid user mapping reqirement #1704

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

alerque
Copy link
Member

@alerque alerque commented Feb 1, 2023

This comes out of recent experiences over on CaSILE with new Git and Docker security measures. The effective user ID stuff is perfect for CaSILE that operates primarily on repositories not files, so writing as the directory owner almost always will make sense. I'm not so sure it is a match for SILE, hence the draft status. It might be better to actually parse the arguments passed to SILE to find the input file(s), then check their ownership. This would necessitate some extra logic to handle cases without an input file but with -o for output. Also we can do some debugging and see if we have any ENV information available now that we didn't have before, but this should get the process started before I forget how it works.

Not usually used, but since people (like me) *might* install and use Git
inside the SILE container and/or use the legacy package manager this
should clear up security restrictions.
…ches

Allows Docker users to drop the user id mapping monkey business when
running Docker while still getting their output files written by the
expected user.
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

Successfully merging this pull request may close these issues.

None yet

1 participant