Re: App Sandbox Container or Data Directory
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