jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.03k stars 339 forks source link

User notebooks are not editable by admin #807

Open rambalachandran opened 2 years ago

rambalachandran commented 2 years ago

Bug description

I installed tljh in Ubuntu 20.04 and created three users

  1. admin (created as part of the vm initialization)
  2. user1 (created from admin front end)
  3. user 2 (created from admin front end) A notebook directory name Projects was created and shared with user1 and user2 as described in https://tljh.jupyter.org/en/latest/howto/content/share-data.html#option-3-create-a-directory-for-users-to-share-notebooks-and-other-files

Expected behaviour

The two expected behaviors are,

  1. The notebooks must be visible to admin and users, but its only visible to users. I did a symlink and made it visible using the following command sudo ln -s /srv/Projects /home/jupyter-admin/Projects
  2. The notebooks created under this folder by individual users are only editable by users. I expected the notebooks to also be editable by admin users.

Actual behaviour

Notebooks are not editable by admin users. See previous section for more details

How to reproduce

Follow steps provided in https://tljh.jupyter.org/en/latest/howto/content/share-data.html#option-3-create-a-directory-for-users-to-share-notebooks-and-other-files

Your personal set up

# paste output of `pip freeze` or `conda list` here

# jupyterhub_config.py