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

Permission error in APGS Built Applicaiton Pacakges #176

Closed
mike-gangl opened this issue Sep 26, 2024 — with Slack · 2 comments
Closed

Permission error in APGS Built Applicaiton Pacakges #176

mike-gangl opened this issue Sep 26, 2024 — with Slack · 2 comments
Assignees
Labels
bug Something isn't working U-ADE U-ADS

Comments

Copy link

mike-gangl commented Sep 26, 2024

The error is caused by the umask set when jupyter-repo2docker is installed. I am not sure how I can enforce this as a package maintainer.

Slack Message

The error is caused by the umask set when jupyter-repo2docker is installed. I am not sure how I can enforce this as a package maintainer.

The problem is /python3.12/site-packages/repo2docker/buildpacks/python3-login gets copies from where the python packages are written in your environment.

It carries with it those permission.

Inside of the docker image that is made it copies that file as root then the docker image is switched to the jovyan user. @edwin Sarkissian the solution for you is to set the umask to something like 002 before installing the python packages. A quick fix is to set the umask and uninstall and install the jupyter-repo2docker image
Verify the permissions are readable by using this command:

ls -l $(find $(dirname $(which jupyter-repo2docker))/.. -name "python3-login")
@mcduffie
Copy link
Collaborator

mcduffie commented Oct 8, 2024

Fixed by setting umask inside builder when deployed before installing Python packages.

@mcduffie mcduffie closed this as completed Oct 8, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Unity Project Board Oct 8, 2024
@mcduffie
Copy link
Collaborator

mcduffie commented Oct 8, 2024

Duplicated by unity-app-build-trigger #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working U-ADE U-ADS
Projects
Status: Done
Development

No branches or pull requests

3 participants