You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using JupyterLab in combination with JupyterHub.
Situation
I have set-up a read-only shared folder by following: http://tljh.jupyter.org/en/latest/howto/content/share-data.html
and then changed the permission of this shared folder that other users can only read/execute, but not write.
Users can now open the notebook, execute and even change it in memory. Saving however will trigger a warning (File Save Error for ... Permission denied, which is intended.
The problem is that if users have made changes in memory, the notebook tries to autosave, which fails due to not having writing permission. It's very annoying for a user to close the pop-error every x seconds.
Question
How do I turn-off autosave for all notebooks in a certain folder (prevent autosave in a read-only folder)
If 1 is not possible, how do I turn-off autosave of a single notebook?
Possible solutions
In the menu --> Settings --> Autosave Documents (turn-off)
Problem: The user might forget to turn it back on and lose data, because he/she expects her notebooks to autosave.
Some code block that can added as the first cell in a notebook that says turn-off autosave for this notebook.
So far haven't been able to find such code.
The text was updated successfully, but these errors were encountered:
No, I don't think anyone has worked on this. If anyone starts working on this, please post here to let the community and other potential collaborators know.
I'm using JupyterLab in combination with JupyterHub.
Situation
I have set-up a read-only shared folder by following: http://tljh.jupyter.org/en/latest/howto/content/share-data.html
and then changed the permission of this shared folder that other users can only read/execute, but not write.
Users can now open the notebook, execute and even change it in memory. Saving however will trigger a warning (
File Save Error for ... Permission denied
, which is intended.The problem is that if users have made changes in memory, the notebook tries to autosave, which fails due to not having writing permission. It's very annoying for a user to close the pop-error every x seconds.
Question
Possible solutions
Problem: The user might forget to turn it back on and lose data, because he/she expects her notebooks to autosave.
So far haven't been able to find such code.
The text was updated successfully, but these errors were encountered: