I would like to change my working directory.
I modify in jupyterhub_config.py the parameter c.Spawner.notebook_dir, but I see all directory. I want to hide any directory.
What I to do ?
Hi! Could you expand on what you mean by “hide any directory”. Do you mean you don’t want your user to access anything outside their home directory? If so you’d have to do that at the operating system level by setting filesystem permissions to prevent read access.
If you want to completely hide them from the user that’s not possible (as far as I know, i’s possible there’s a way…).
I will operate across system level by setting filesystem permissione.
I think that is the best solution.