27 Aug
2008
27 Aug
'08
3:15 p.m.
At 8:08 -0700 27/8/08, Shawn Erickson wrote:
We have no issues using the rights we are granted to remove files owned by root, etc. but we cannot use launchctl to stop the LaunchDaemon because the uninstall task runs as the current user and not as root (aka doesn't see the top level launchd instance).
I'm confused. To remove a file from /Library/LaunchDaemons you have to be running as root. Why can't you sublaunch launchctl from that context? S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware