Closed wragge closed 3 years ago
Added this line to the manifest.json
file:
- cmd[cp]: chown -R jovyan:jovyan /home/jovyan/work
For more details and instructions on modifying existing installations see: https://updates.timsherratt.org/2021/06/14/minor-change-to.html
The 'work' directory mounted inside the JupyterLab workspace is owned by root, so the 'Jovyan' user that Lab uses doesn't have permission to write to it.
This can be easily chnage via web SSH:
chown jovyan:jovyan /home/jovyan/work
But it would be better to include do this via cloud scripting in the manifest.json file. There is a onAfterAddVolume event, so presumably we could just use cmd to run chown? https://docs.cloudscripting.com/creating-manifest/events/#onafteraddvolume