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?

shin
  • 463
  • 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? – Marc Wilson May 30 '21 at 03:53
  • Does this question (or any of the ones linked to it) solve your problem? – Gordon Davisson May 30 '21 at 03:56

0 Answers0