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
{{ message }}
Repository navigation
ipython saving notebooks model is not working with read-only files #8928
Today I had one notebook that I checked in to source control. Then of course it is read-only on the file system. When opening the notebook using local ipython/jupyter notebook server and trying to save it, then the following error comes up:
Permission denied: blablabla.ipynb
also the temporary file .~blablabla.ipynb is generated with read-only flag, which looks like exact copy of original notebook.
The problem is that this file is not cleaned up after this error!
This causes the notebook to fail saving even when read-only flag is removed.
Manually removing this temporary file is the current workaround.
windows 7, 64 bit
The version of the notebook server is 4.0.6 and is running on:
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)]
Activity
takluyver commentedon Jan 26, 2016
I'm afraid we're not used to VCSs that make files read only when you commit them. ;-)
I understand what has gone wrong, I'm not sure how it can practically be improved.