Terminal launcher from Collab launches at wrong place and unidentifiable user
Launching a new terminal from any collab puts the shell at /opt/app-root/src
under the user jovyan
.
Example:
jovyan@jupyterhub-nb-baumbach:/opt/app-root/src$
This means that at least by default commands executed there affect not only the storage from the collab the user started from but can affect everyone (I haven't tried which permissions I really have).
At least the default starting location should be the root of the collab-local storage rather the root of the storage of all collabs. I personally think that also the user should correspond to the EBRAINS account name and the host should either be hidden or something a user can identify with, but those two are cosmetics. The default location meant that I cloned a git repo to a place where I don't have any reason writing stuff to.
Note: I'm not sure if tightening filesystem permissions is advisable, I can imagine scenarios where I want to have read and write access outside of the collab I'm currently in. But that should be something that I intentionally initiate. I.e. a sequence of "start Terminal and execute rm -rf *
" should only affect my own local stuff rather than (potentially) everyone else.