App Sandbox: Allow helper apps to launch their parents from any location

Originator:matt
Number:rdar://10809490 Date Originated:04-Feb-2012 02:35 PM
Status:Closed Resolved:11-Apr-2012 04:03 PM
Product:Mac OS X Product Version:10.7.3
Classification:Enhancement Reproducible:
 
Summary:

Sandboxed helper application can only launch applications in the parent bundle if the parent bundle resides in /Applications. Allow applications in the parent bundle to be launched regardless of location.

Steps to Reproduce:

1. Create a sandboxed application
2. Create a sandboxed helper application that uses NSWorkspace to launch the parent application on command or after a delay
3. Place the parent application under /Applications
4. Launch the helper application through SMLoginItemSetEnabled
5. Verify that the parent application is successfully launched through the helper
6. Move the parent application to a directory outside of /Applications and repeat the test

Expected Results:

The parent application is launched just as before.

Actual Results:

The helper is unable to launch the parent.

Notes:

While it may unlikely for users to move apps outside of /Applications it is possible and this limitation of behavior is unexpected.

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!