1

I created an AppleScript which executes a simple Python file.

I've given it full disk access but still every time it runs it prompts a "X would like to access files in your Desktop folder" message.

Is there a way to make this popup stop? enter image description here

6
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Oct 29, 2022 at 22:11
  • 1
    Seems pretty clear to me - they've got a script with full disk access but it's still requesting access, they want to know how to make it stop
    – Ezekiel
    Oct 29, 2022 at 22:24
  • Is this is for a script application?
    – red_menace
    Oct 30, 2022 at 0:09
  • Basically what the AppleScript does is run a do shell script which executes a python script. I exported it as an application file format and Run-only as the option.
    – dimalc
    Oct 30, 2022 at 9:26
  • AppleScript has historically saved all properties and globals by writing to the script file, so the security system puts up the dialog again because it is seen as a different app - one that hasn’t been given permission yet. The solution is to code-sign the app (you can use a self-issued certificate), or otherwise make the script(s) in the bundle read-only.
    – red_menace
    Oct 30, 2022 at 14:14

1 Answer 1

0

AppleScript has historically saved all properties and globals by writing to the script file, so the security system puts up the dialog again because it is seen as a different app - one that hasn’t been given permission yet.

The solution is to code-sign the app (you can use a self-issued certificate), or otherwise make the script(s) in the bundle read-only.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .