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
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
When using the absolutePathForApplication(withBundleIdentifier:) api, I find
that if the path is on an external mount, the api will return nil / none if the
uid is 0, when it will return an actual path when the uid is a valid user login
id (eg, 501, 502 etc).
To reproduce, mount a .dmg contain