I was using an App created with Automator to quikly disable and enable Time Machine backups on my Mac with just one click. I was using a command that for some reason seems to doesn't work since I updated my system to Monterey.
I was using this code:
on run {input, parameters}
do shell script "sudo tmutil disable" user name "xxxxx" password "xxxxx" with administrator privileges
return input
end run
Now I'm receiving errors when trying to run the script. Automator says: "Sintaxis error. tmutil: disable requieres Full Disk Access privileges. To allow this operation, select Full Disk Access in the Privacy tab of the Security & Privacy preference pane, and add Terminal to the list of applications which are allowed Full Disk Access."
I've already added several times Terminal, Automator and even the App created by Automator to the different tabs of Privacy on System Preferences, including Full Disk Access and still can't use this command like before.
What else can I do?
Thank you!