-
Notifications
You must be signed in to change notification settings - Fork 3
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
[DISC]: mounted storage running docker on Ubuntu no writing permissions #13
Comments
This is only a problem for linux. It doesn't appear to be a problem in macOS nor Windows. @pmreyes2 that's definitely a workaround that works, but we don't want users to have to change permissions on their system directories just so that the container can use the mounted location (how would this even work in Windows?). I thought this was happening because we are using the So I did some more digging and realized that we can't have been the only one's who had this problem, specifically, we can't be the only one's using the jupyter-stacks docker images that have had this problem. And yup, there's built in support for this!. The way you fix this is by passing the environment variables @pmreyes2 can you try adding
|
This is the previous behavior:
Then in the jupyter notebook I start a terminal:
where 1111 are both the local NB_IUD and NB_GID. Notice that the folder remote1 does not have writing permissions. Now, following @asreimer findings:
Now, coming back to the resen tool and start jupytrer from the still running bucket container:
Starting a terminal from jupyter:
Now the remote1 folder has owner jovyan and the folder is writable. |
This isn't resolved yet, because the standard start_bucket command in resen doesn't use |
operating system:
Docker version:
the storage added does not have writing permissions.
A workaround is giving writing permissions to all to the target folder in the host computer.
The text was updated successfully, but these errors were encountered: