• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sandboxing and NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sandboxing and NSTask


  • Subject: Sandboxing and NSTask
  • From: Andrew Satori <email@hidden>
  • Date: Sun, 14 Aug 2011 16:59:23 -0400

Having spent the weekend trying to migrate to supporting sandboxing, I think I have hit a snag that may well be terminal.

The situation:

My application contains a bundle that embeds a set of programs (a local instance of the PostgreSQL RDMS).  Outside of the sandbox, it properly creates the database and does the work using NSTask.  All of the file IO is safely inside the users home directory in the ~/Libray/Application Support/ folder.

When I enable the sandboxing it all goes into the toilet.  As far as I can tell, the NSTask calls are not inheriting the sandbox entitlements and are there fore failing to be able to have any file IO against the container.

The question:

Has anyone else had to deal with this that can offer any insight?  I am feeling very lost.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sandboxing and NSTask
      • From: Scott Ribe <email@hidden>
    • Re: Sandboxing and NSTask
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: recomendations for creating a beta with date to expire
  • Next by Date: Save panel exception: "parentForItemsInColumn: is not supported for browsers with matrix delegates"
  • Previous by thread: Re: recomendations for creating a beta with date to expire
  • Next by thread: Re: Sandboxing and NSTask
  • Index(es):
    • Date
    • Thread