Im running jupyterhub on kubernetes using the zero 2 jupyterhub chart.
Currently i'v got persistent volume that is mounted on each single user server and is used as a shared folder. all users can read from and write to it.
The desired state is to have shared folder that will contain all user's folders in a way that each user has write permissions to his folder only.
Problems are:
- All single user pods are run with the same user (jovian) and with the same group
- When changing permissions to sub folders of the shared/ folder, permissions are changed in all mounted instances (eg. in all single user pods)
Is there any way to manage these permissions without managing linux users in parallel to jupyterhub user? if there isn't, are there any convenient ways (maybe some open source custom jupyterhub authenticator/single user image)that helps with it?
question from:
https://stackoverflow.com/questions/65901023/how-to-manage-shared-notebooks-permissions-in-zero-2-jupyterhub-deployment-kube 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…