Skip navigation

Sandbox Entitlements and AppleScriptObjC

394 Views 1 Reply Latest reply: Sep 20, 2012 8:20 PM by red_menace RSS
Strontium90 Level 4 Level 4 (2,895 points)
Currently Being Moderated
Sep 20, 2012 6:23 PM

With the release of Xcode 4.5 it looks like entitlements are now checked at runtime.  So what once worked for do shell script and calling "restricted" locations of the operating system (/etc) now will prevent file access.


Does anyone know if there is an entitlement to use to gain access to files in /etc?  I've tried the




as arrays and filled them with the full path to the files and also finder and systemevents.


If I am using a do shell script in the app, anyone know how to permit calling the shell commands?  And on top of that, how to permit read access to files in /etc?


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.