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

Options to relocate temporaryDirectory #428

Open
xmlking opened this issue Apr 24, 2024 · 2 comments
Open

Options to relocate temporaryDirectory #428

xmlking opened this issue Apr 24, 2024 · 2 comments

Comments

@xmlking
Copy link

xmlking commented Apr 24, 2024

I was trying Hasura-auth software which is using this lib.
When I run this in docker container with non-root user, it keep failing due to permissions.
ASK : please provide options to specify the temp location either via API or via environment variables

IMG_0315
@tonimelisma
Copy link
Collaborator

Hey @xmlking - I'm more than happy to review a PR. Please check the contributing documentation, and write a unit test.

@xmlking
Copy link
Author

xmlking commented Apr 26, 2024

I found a solution to support non-root runner use case:
by setting environment variable TMPDIR=/some_temp_root we can control base directory for ioutil.TempDir()

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