[MacPorts] #65302: darktable/inkscape: unable to access user files, when run via app bundle on big sur or monterey
MacPorts
noreply at macports.org
Fri Jul 8 01:11:35 UTC 2022
#65302: darktable/inkscape: unable to access user files, when run via app bundle on
big sur or monterey
---------------------------------+----------------------------------------
Reporter: mascguy | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: app-bundle bigsur monterey
Port: darktable inkscape |
---------------------------------+----------------------------------------
Comment (by JDLH):
I just encountered this error with inkscape @1.2_4+quartz, and inkscape-
app @1.2_0 which calls the inkscape port, on macOS 12.4 Monterey. The
symptom for me was that when I tried to save a file to ~/Documents or any
folder within, Inkscape refused, and display an error message,
> Could not read the contents of Documents.
> Error opening directory '/Users/myuserid/Documents': Operation not
permitted.
> [OK]
I tried using System Preferences… Security & Privacy… Privacy… Full Disk
Access to various executables: `/Applications/MacPorts/Inkscape.app`,
`/Applications/MacPorts/Inkscape.app/Contents/MacOS/Inkscape`, and
`/opt/local/bin/inkscape`. None of these were effective.
What was effective was the workaround suggested by https://github.com
/darktable-org/darktable/issues/3107 : 1. Ensure that, in Files and
Folders, the Terminal.app has access to locations like "Documents Folder",
"Network Volumes", "Desktop". 2. From the Terminal shell, run `inkscape`.
This launches the quartz UI. I am now able to save from Inkscape to within
my Documents directory.
--
Ticket URL: <https://trac.macports.org/ticket/65302#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list