Can't run launchctl agent in Catalina. Is this a permissions problem? I have some launchctl scripts on Mojave that I am trying to now run on Catalina, but can't seem to get them to run. I made myself a very simple little plist as follows
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&gt;
&lt;plist version=&quot;1.0&quot;&gt;
&lt;dict&gt;
  &lt;key&gt;Label&lt;/key&gt;
  &lt;string&gt;local.moveit&lt;/string&gt;

  &lt;key&gt;StandardOutPath&lt;/key&gt;
      &lt;string&gt;/Users/pheon/Library/Logs/local-moveit-stout.log&lt;/string&gt;
  &lt;key&gt;StandardErrorPath&lt;/key&gt;
      &lt;string&gt;/Users/pheon/Library/Logs/local-moveit-stderr.log&lt;/string&gt;

  &lt;key&gt;ProgramArguments&lt;/key&gt;
  &lt;array&gt;
    &lt;string&gt;mv&lt;/string&gt;
    &lt;string&gt;/Users/pheon/Desktop/test/fileA&lt;/string&gt;
    &lt;string&gt;/Users/pheon/Desktop/test/fileB&lt;/string&gt;
  &lt;/array&gt;
 
  &lt;key&gt;StartCalendarInterval&lt;/key&gt;
  &lt;dict&gt;
    &lt;key&gt;Minute&lt;/key&gt;
    &lt;integer&gt;1&lt;/integer&gt;
  &lt;/dict&gt;
&lt;/dict&gt;
&lt;/plist&gt;

Then I loaded it with
launchctl load local.moveit.plist

Restarted my machine.
Checked it was running.
$ launchctl list | grep moveit
-   0   local.moveit

It is simply supposed to rename a file (which does exists), but it doesn't do anything, it doesn't report any errors. It seems dead.
I had read that there could be permission issues, so I gave mv, launchctr, sh and zsh &quot;Full Disk Access&quot; in System Preferences. I also downloaded LaunchControl.app to see if that would help. But it still doesn't work, and nothing is reporting that anything is amiss.
I have the following questions.

How do I get this to work?
What is it with this permissions thing? Is it safe to give those apps &quot;Full Disk Access&quot;. Should I turn SIP off and on again? (What does that do anyway?)

ETA.
An error message finally turned up in the log.
mv: rename /Users/pheon/Desktop/test/fileA to /Users/pheon/Desktop/test/fileB: Operation not permitted
How do I get this to work?

Your plist file looks good except I have found it’s more reliable to have your actual commands in an executable script and call that rather than call the commands directly from the plist.
(For future readers in case comments are deleted)
The StartCalendarInterval can get confusing at times...
&lt;key&gt;StartCalendarInterval&lt;/key&gt;
  &lt;dict&gt;
    &lt;key&gt;Minute&lt;/key&gt;
    &lt;integer&gt;1&lt;/integer&gt;
  &lt;/dict&gt;

This runs the command on the first minute of every hour (i.e. 12:01, 1:01, 2:01, and so on).  It’s not “every 1 minute.” For more details, see launchd plist format for running a command at a specific time on a weekday

What is it with this permissions thing? Is it safe to give those apps &quot;Full Disk Access&quot;. Should I turn SIP off and on again? (What does that do anyway?)

Catalina has instituted a new security model in which applications or processes need to be granted rights to different resources.  It has nothing to do with your rights per se, but rights of the resource. For instance, you might not want your Firefox to have rights outside it’s normal work folders.  On the past, an attacker might exploit some flaw and gain access to other directories snd drop off malicious code. Now, if the app doesn’t have rights to accessed the volume, it won’t be able to access it regardless whether of your rights
SIP is merely a set of protected folders. what makes it special is that it cannot be disabled while the file system is mounted which is why you need to reboot in Recovery/Single User mode to disable it.  Rogue software can’t overwrite system files even if the user is root.