Post

Replies

Boosts

Views

Activity

Reply to Privileged helper with SMAppService
@eskimo thanks for reply Yes, I use daemon. What I did: 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 redesigned agent to daemon, in daemon code added FileManager.moveitem() Built project, registered daemon, in system settings I checked the authorization state for daemon Ran test command and got error that 'filename' couldn’t be moved because you don’t have permission to access 'dirname' If I run in terminal sudo mv ... with password prompt I can do this, but how to set privileges to daemon?
Oct ’23
Reply to SMAppService with root Helper
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
Oct ’23