Search code examples
macospycharm

"~/: Read only file system" on MacOS when attempting to export Pycharm settings


I am trying to export the Pycharm settings:

enter image description here

But why is Pycharm not having permissions? Is there a way to grant them?

Error Writing File Error writing settings java.nio.file.FileSystemException -: Read-only file system

enter image description here

I am on Monterey 12.5.1


Solution

  • The path had to be manually updated to the expansion of ~/Downloads to my fully qualified home directory. Credit: comment by @GordonDavidson.

    While this answer may seem simple/obvious it is not so much for those of us who have been using this feature without needing to make that manual substitution for many years - 14 years in my case.

    • The IDE's "Open File" dialog did find this location and used that path. So it's at the least a mini bug that the path found is not acceptable
    • I had never had to make the substitution in the past out of fifty+ times using this feature. I had presumed there were something "special" about Monterey security/permissions going on