You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set up Binderhub on a local Kubernetes cluster.
I have mounted some NFS directories to the Jupyterhub instance so I need to change the UID and GID of the containers being run so that I can read/write.
When I try to launch a notebook with a Github repsoitory on the Binderhub page, I always get the error:
PermissionError: [Errno 13] Permission denied: '/home/jovyan/.local/share/jupyter/runtime'
However, if I launch a notebook using the Jupyterhub instance created with Binderhub, the notebook is started as the UID and GID for my user. The permission denied error does not occur.
I have changed the UID and GID in the config.yaml like this:
c.BinderSpawner.fs_gid = get_gid
c.BinderSpawner.uid = get_uid
c.BinderSpawner.gid = get_gid
c.BinderSpawner.run_as_uid = get_uid
c.BinderSpawner.run_as_gid = get_gid
c.BinderSpawner.supplemental_gids = [100] # Needed to access Jovyen files
I don't understand why I get the permission denied error when I try to create the notebook using the binderhub page but not when I use the Jupyterhub page.
Hi,
I have set up Binderhub on a local Kubernetes cluster.
I have mounted some NFS directories to the Jupyterhub instance so I need to change the UID and GID of the containers being run so that I can read/write.
When I try to launch a notebook with a Github repsoitory on the Binderhub page, I always get the error:
PermissionError: [Errno 13] Permission denied: '/home/jovyan/.local/share/jupyter/runtime'
However, if I launch a notebook using the Jupyterhub instance created with Binderhub, the notebook is started as the UID and GID for my user. The permission denied error does not occur.
I have changed the UID and GID in the config.yaml like this:
c.BinderSpawner.fs_gid = get_gid
c.BinderSpawner.uid = get_uid
c.BinderSpawner.gid = get_gid
c.BinderSpawner.run_as_uid = get_uid
c.BinderSpawner.run_as_gid = get_gid
c.BinderSpawner.supplemental_gids = [100] # Needed to access Jovyen files
I don't understand why I get the permission denied error when I try to create the notebook using the binderhub page but not when I use the Jupyterhub page.
I have attached the full config.yaml here.
Many thanks,
Aidan
The text was updated successfully, but these errors were encountered: