• 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: Richard Somers <email@hidden>
  • Date: Tue, 23 Oct 2012 14:05:48 -0600

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."

> As in you’re setting up ASL to write to a specific file within your container?

Yes, writing to "NSHomeDirectory"/Library/Logs using ASL but sandboxed library logs do not show up in Console.

>> I have not tried to access the Pages plist file.
>
> I strongly suspect any attempt to access it would fail unless you have a temporary entitlement to do so.

You are correct. The Pages plist file is readable but not writable.

--Richard Somers


_______________________________________________

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: Kyle Sluder <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>)

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