0

macOS: v 11.2.3 Chip Apple M1

I have given the Full Disk Access to Terminal and iTerm.

enter image description here

But when I run a Bash script to clean up the Trash directory I get "Give the Terminal.app Full Disk permission in the Security settings." error. When I run for Downloads directory, I don't have any problems.

I run this script through launchd plist file. I restarted the mac.

What can I do to avoid this error?

2
  • 2
    You're running the script through launchd. Terminal.app is not involved so the permissions Terminal.app might have are not relevant. What problem are you actually trying to solve by running this script vs letting the OS manage it? May 30, 2021 at 3:53
  • Does this question (or any of the ones linked to it) solve your problem? May 30, 2021 at 3:56

0

You must log in to answer this question.

Browse other questions tagged .