XXX
Hiya everybody.
I’ve a launch that I’ve been utilizing for greater than 10 years. As soon as every week, clear my desk, transferring any file that finds a “desktop_archive” folder.
Sadly, though the script nonetheless works nicely once I execute it by hand, when the launch is run, you don’t see any file on my desk, irrespective of how a lot there are actually?!
At first I assumed this was a permissions drawback, however including a “who I’m” to the script confirms that it runs like me. Much more surprisingly, if I into the script however change the target to a distinct listing, it additionally works nicely.
Any thought? From what I can say, Lastitd can not see any file in ~/desk though it ought to be executing with my very own permits. For instance:
$ launchctl kickstart gui/501/com.pdc.test_agent
Produces:
who am i: pdc Apr 8 19:25
ls /Customers/pdc/Desktop:
Wanting on the console, I discovered:
error 09:27:51.586719-0400 kernel System Coverage: ls(53142) deny(1) file-read-data /Customers/michaelheinz/Desktop
error 09:27:51.588784-0400 kernel 3 duplicate reviews for System Coverage: ls(53142) deny(1) file-read-data /Customers/michaelheinz/Desktop
Nevertheless, as I mentioned earlier than, the script is executed appropriately if I execute it by hand and the agent is executed appropriately whether it is pointed to the folders that aren’t shared by ICloud.
Any thought about how one can make this work once more?