• 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
Re: App Sandbox Container or Data Directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App Sandbox Container or Data Directory


  • Subject: Re: App Sandbox Container or Data Directory
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 23 Oct 2012 13:43:52 -0700

On Tue, Oct 23, 2012, at 01:05 PM, Richard Somers wrote:
> On Oct 23, 2012, at 1:29 PM, Mike Abdullah <email@hidden>
> wrote:
>
> > The sandbox is intended to limit what an *app* can do by itself, not what a *user* can do. Users are free to save things wherever they like; the only entitlement that plays a role in that is com.apple.security.files.user-selected.read-only
>
> Not true. The user can navigate in the save panel to where ever but
> saving to an unapproved location will result in an error. "The document
> could not be saved. You don't have permission."

If by "unapproved" you mean "my app's sandbox hasn't been extended to
include this path" then you are incorrect. The user can choose the
destination, and the NSURL you get back from the open panel will carry
the rights to access that location.

If by "unapproved" you mean "the user my app is running as doesn't have
write permission to this location", then yes that is expected behavior.

--Kyle Sluder
_______________________________________________

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: App Sandbox Container or Data Directory
      • From: Richard Somers <email@hidden>
References: 
 >App Sandbox Container or Data Directory (From: Richard Somers <email@hidden>)
 >Re: App Sandbox Container or Data Directory (From: Mike Abdullah <email@hidden>)
 >Re: App Sandbox Container or Data Directory (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: sync drawing an ever-increasing path
  • Next by Date: Re: App Sandbox Container or Data Directory
  • Previous by thread: Re: App Sandbox Container or Data Directory
  • Next by thread: Re: App Sandbox Container or Data Directory
  • Index(es):
    • Date
    • Thread