I have JupyterHub working for a individual users using SystemUserSpawner 
via a PAMAuthentication. However, I'd like to be able to share certain 
Jupyter Notebooks between different users, realizing that we could step on 
each other. One solution would be to enable UNIX groups inside Jupyterhub, 
but the "load_group" configuration item isn't working as I'd expect. This 
is what I have in the jupyterhub_config.py:

      c.JupyterHub.load_groups = { 'ourgroup': [ 'mike', 'dave', 'tom' ] }

"ourgroup" is an existing UNIX group on the server and mike, dave and tom 
are existing users with access to that group. If I bring up a Terminal 
inside Jupyter, the "whoami" command returns "mike", but the "groups" 
command also returns "mike". I'd like my group to be "ourgroup", instead, 
or at least add "ourgroup" to my list of groups. I can create and edit 
files owned by mike, but not 775 files with group "ourgroup". 
Unsurprisingly, an "ls -l" of a file with group "ourgroup" just lists the 
groupId number, not "ourgroup".

Am I using the JupyterHub.load_groups correctly? Is there another way to 
get this functionality? I'm removing the Docker image each time before I 
run to make sure that changes take affect.

Thanks muchly,
mike


-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/906a5f7f-60da-45df-a5bf-a3675656e535%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to