Re: Is container migration manifest required to access 3rd party file in ~/Library/Preferences from sandboxed Cocoa app in OS X 10.8 SDK?

2013-06-06 Thread Graham Cox
On 07/06/2013, at 1:03 AM, Public wrote: > I've created an entitlement file. So my question is is it possible to use a > container migration manifest to copy the file (that was not created or owned > by my app) from ~/Library/Preferences to my app's sandbox. I only need read > access and need

Is container migration manifest required to access 3rd party file in ~/Library/Preferences from sandboxed Cocoa app in OS X 10.8 SDK?

2013-06-06 Thread Public
I'm building a Cocoa app (using OS X 10.8 SDK) to access a file (that was not created or owned by my app) in ~/Library/Preferences/. I'm able to access the ~/Library/Preferences from a non-sandboxed app, however when I run my NSTask from my sandboxed app, the path returned is /Users/username/