App Sandbox: Parent apps cannot pass user-selected paths to their login items

Originator:matt
Number:rdar://10102084 Date Originated:09-Sep-2011
Status:Duplicate/8751876 Resolved:
Product:Mac OS X SDK Product Version:10.7.1
Classification:Enhancement Reproducible:N/A
 
Summary:

There is no method for a sandboxed login item to receive access to paths the user has selected through a parent configuration app.

One example is an app that uses an embedded network server to support custom sharing protocols such as UPnP/DLNA. This app could be distributed as a parent application that displays a configuration UI and allows the user to select what files are shared and start/stop the sharing service (much like OS X's built-in File Sharing). The actual sharing would be performed by a UI-less login item that is launched through SMLoginItemSetEnabled and runs independently of the config app. Such a login item would need persistent access to the paths the user selected in the parent config app.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!