Re: Problem with NSWorkspace.shared and uid 0

2017-12-15 Thread Jean-Daniel
AFAIK, this is not an issue with uid 0 specifically, but more an issue with how LaunchService works (the framework underlying this part of NSWorkspace). The system maintains a per user databases of the installed bundles. This databases is updated each time an user interact with a new application

Re: Problem with NSWorkspace.shared and uid 0

2017-12-13 Thread Jens Alfke
Honestly, I don’t think AppKit is considered OK to use as root. (Have you checked Apple’s giant tech note on daemons and agents?) —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to t