Re: Write to file Entitlement

2011-11-04 Thread Sam Rowlands
Rowlands s...@ohanaware.com http://www.ohanaware.com - Fun Photos, HDRtist Pro & some cool free apps. On Nov 1, 2011, at 2:06 AM, cocoa-dev-requ...@lists.apple.com wrote: > Date: Mon, 31 Oct 2011 08:10:57 -0700 > From: James Merkel > Subject: Re: Write to file Entitlement > To: Gideon King

Re: Write to file Entitlement

2011-11-02 Thread Shane Stanley
On 02/11/2011, at 6:19 AM, James Merkel wrote: > Your're assuming the temporary exception will always be granted. A point seemingly made clear in today's email on the topic: "These entitlements are granted on a short-term basis and will be phased out over time." -- Shane Stanley 'AppleScript

Re: Write to file Entitlement

2011-11-02 Thread Sean McBride
On Tue, 1 Nov 2011 11:00:33 -0700, James Merkel said: >Why would someone want to base their application on the tenuous >availability of a temporary exception ? Because there's no choice. They are the only way to achieve a large number of extremely common operations. I'm looking forward to seei

Re: Write to file Entitlement

2011-11-01 Thread Seth Willits
On Nov 1, 2011, at 12:19 PM, James Merkel wrote: >> Well, I maintain a synchronization tool. For me, that seems like a >> reasonable solution. Each time the user decides to synchronize 2 folders, I >> could just use a temporary exception. > > Your're assuming the temporary exception will always

Re: Write to file Entitlement

2011-11-01 Thread James Merkel
On Nov 1, 2011, at 11:37 AM, Laurent Daudelin wrote: > On Nov 1, 2011, at 11:00, James Merkel wrote: > >> Why would someone want to base their application on the tenuous availability >> of a temporary exception ? >> >> Jim Merkel >> >> On Nov 1, 2011, at 10:30 AM, Laurent Etiemble wrote: >>

Re: Write to file Entitlement

2011-11-01 Thread Laurent Daudelin
On Nov 1, 2011, at 11:00, James Merkel wrote: > Why would someone want to base their application on the tenuous availability > of a temporary exception ? > > Jim Merkel > > On Nov 1, 2011, at 10:30 AM, Laurent Etiemble wrote: > >> Hello, >> >> In a sandboxed application, you can read/write fi

Re: Write to file Entitlement

2011-11-01 Thread James Merkel
Why would someone want to base their application on the tenuous availability of a temporary exception ? Jim Merkel On Nov 1, 2011, at 10:30 AM, Laurent Etiemble wrote: > Hello, > > In a sandboxed application, you can read/write files without the save dialog > by using the "File Access Tempora

Re: Write to file Entitlement

2011-11-01 Thread Laurent Etiemble
Hello, In a sandboxed application, you can read/write files without the save dialog by using the "File Access Temporary Exceptions" (cf. http://developer.apple.com/library/mac/#documentation/Miscellaneous/Reference/EntitlementKeyReference/AppSandboxTemporaryExceptionEntitlements/AppSandboxTemporar

Re: Write to file Entitlement

2011-10-31 Thread Martin Hewitson
I wonder how such a system would work with an app which is a file-manager. Take, for example, Xcode. How could such an app be sandboxed if that would stop it from being able to save the files it manages? Has such a scenario been thought about or discussed before? Cheers, Martin On 31, Oct, 2

Re: Write to file Entitlement

2011-10-31 Thread James Merkel
That will completely break my app. Off the top of my head, I don't know how I would change things to conform to that regime. I update files in a batch mode. Jim Merkel On Oct 30, 2011, at 11:39 PM, Gideon King wrote: > If you are writing to somewhere inside the sandbox, you can read and write

Re: Write to file Entitlement

2011-10-30 Thread Gideon King
If you are writing to somewhere inside the sandbox, you can read and write freely, but if outside, then you have to go through the save panel, which behind the scenes stretches your sandbox to include that file. Regards Gideon On 31/10/2011, at 3:27 PM, James Merkel wrote: > Reading the san

Write to file Entitlement

2011-10-30 Thread James Merkel
Reading the sandboxing documents, it looks like in order to write to a file you need to use the save dialog. My app updates files without the save dialog. Will that be permitted in a sandboxed app ? Jim Merkel ___ Cocoa-dev mailing list (Cocoa-dev@list