-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read-only notebooks can't be unlocked for editing #1324
Comments
Has there been any further work on this? I accidentally extensively edited a notebook that was read-only on the disk and my changes are permanently lost it seems; despite having the window open I can find no mechanism other than copying and pasting every cell to save my changes, even after the notebook is made writable on the disk. |
I had a file on disk with read-only permissions and I modified it to be able it to be written but I was still not able to save my notebook after extensive edits. As a workaround, using the web browser debugger, I put a break point in Notebook.prototype.save_notebook and set |
@gnestor @takluyver I noticed that the copy handler does accept a 'to_path', but the POST calls from contents.js on the client side only set the I'm thinking of adding a modal that lets the user enter a path, checks if the user has permissions to write to that path and if so, save it there. This would be great for copying shared read-only notebooks as well. |
Yes, I think so. There's a PR here, but it seems to have stalled: #3071 |
This is still an issue. Is someone working on this? |
* add failing test for readonly notebook * test typing after save-as * make notebook writable after save-as fixes #1324 * fix failing test in travis
This issue is open in the ipython project here, and it doesn't appear like it's been migrated to jupyter.
As mentioned in that thread, it would be great to either have a "Save As" feature or to not allow editing of a read-only file.
The text was updated successfully, but these errors were encountered: