SMJobBless is for the Privileged Helper tool, but what if I want the startd plugin copied to / Users / <user> / Library / LaunchAgents

SMJobBless is for the Privileged Helper tool, but what should I do if I want the startd plugin to be copied to /Users/<user>/Library/LaunchAgents

. I don't want to enter a user password to install the helper tool.

+3


source to share


1 answer


Your application should already be able to create processes launchctl

and have write access to /Users/<user>/Library/LaunchAgents

, so can't you just do this directly instead of trying to use it SMJobBless()

?



0


source







All Articles