question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Saving plots to local filesystem results in NoPermissions error

See original GitHub issue

When I generate an image in a Python session on a remote connection, I typically want to save these images locally. However, I am now getting a NoPermissions error when I do so:

Error exporting image: NoPermissions (FileSystemError): Unable to write file 'vscode-remote://ssh-remote+7b22686f73744e616d65223a224e5959415753227d/Users/cfonnesbeck/Downloads/no_clusters.png' (NoPermissions (FileSystemError): Error: EACCES: permission denied, mkdir '/Users')

This is being saved in a subdirectory of my personal account, so there should be no permissions error. I have tried other subdirs, but with similar effect.

  • VSCode Version: 1.54.3
  • OS Version: macOS 11.3
  • Jupyter Extension version: 2021.3.0
  • Python Extension version: 2021.3.1
  • Python and/or Anaconda version: 3.8
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda
  • Jupyter server running: Remote

Steps to Reproduce:

  1. Generate image in Python
  2. Open image in plots tab
  3. Select save icon
  4. Select local filesystem from file browser
  5. Save to local folder (e.g. Downloads or Desktop)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
fonnesbeckcommented, Dec 7, 2022

Not recently! Go ahead and close the issue, thanks.

0reactions
DonJayamannecommented, Dec 7, 2022

Thank you very much for getting back.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: EPERM: operation not permitted" when trying to save ...
Getting "NoPermissions (FileSystemError): Error: EPERM: operation not permitted" when trying to save/create file on Visual Studio Code.
Read more >
How to Fix the “You Don't Have Permission to Save in This ...
Since the error mainly appears due to a lack of necessary permissions, the first thing you should do is modify folder permissions to...
Read more >
expo-Filesystem (I believe) crashing during production only.
I am trying to take a picture with expo-imagepicker, save the picture to the filesystem, and load the picture into an <ImageBackground ...
Read more >
VS Code API | Visual Studio Code Extension API
The file system interface exposes the editor's built-in and contributed file system providers. It allows extensions to work with files from the local...
Read more >
POSIX Access Control Lists on Linux - USENIX
This paper discusses file system Access Control Lists as implemented in several UNIX-like operating systems. After recapitulating the concepts of these ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found