I have same problem
I took the demo project from https://developer.apple.com/documentation/servicemanagement/updating_your_app_package_installer_to_use_the_new_service_management_api
Then redesign agent to daemon, in daemon code added FileManager.moveitem()
Build project, register daemon, in system settings I checked the authorization state for daemon
Run test command and get error that I have not permission for folder
Topic:
App & System Services
SubTopic:
Core OS
Tags: