Tincta
Tincta copied to clipboard
Suddenly can't open a file
After a recent security update now Tincta can't open a file, I get permissions error:
Permission needed
You do not have sufficient rights to open the file "Add record to sqlite.py". You can authenticate as another user or admin to gain access. Be careful modifying system files as this might cause severe demage [sic].
If I click the 'Authenticate' button nothing happens and it opens a blank document. I am attempting to open this file by running an Applescript, which always worked in the past. I added Tincta to Security>Full Disk Access but it didn't fix it.
This might be related to how the sandbox is configured. Tincta can only open "user selected" files. It might be, that macOS does not consider Apple Script commands as user initiated. Adding Tincta to the Full Disk Access exceptions probably has no effect because it never requests this permission (and I am not sure if this is even an option available for App Store distributed apps).
It is strange, however, that it worked in the past, because we have not changed anything about this. Maybe macOS changed how it handles Apple Script file openings as part of a recent security update.