Re: Entitlements Questions
Re: Entitlements Questions
- Subject: Re: Entitlements Questions
- From: Gideon King <email@hidden>
- Date: Wed, 16 Nov 2011 11:38:14 +1000
A case in point for this is where a user has a document and wants to link to another file (say some productivity application where you want to reference supporting files from within a document). They use the file dialog to select the file, and it is added as a linked file. The application can tell NSWorkspace to open the file because the user has selected it through the open panel.
Now the user quits the application, and later comes back and opens the document and tries to open the linked file - your application asks NSWorkspace to open the file as before. Since the user has not selected the file using the open panel during this session, there is no automatic temporary exception, and the user is told that the file doesn't exist because it is not in the sandbox. What worked before, when the user created the file no longer works when they reopen it.
I don't really have a solution for this issue, but can imagine that there are a whole bunch of applications that would be affected by this sort of thing.
Regards
Gideon
On 16/11/2011, at 11:03 AM, Chris Cleeland wrote:
> On Tue, Nov 15, 2011 at 11:57 AM, James Merkel <email@hidden> wrote:
>> On Tue, 15 Nov 2011 08:23:50 -0700
>> From: Scott Ribe
>>> It seems there really really ought to be a way for an application to request, and the user to grant or deny, access to the overall file system, or portions thereof.
>>
>> Of course that seems like it violates the whole idea of a sandbox doesn't it?
>> You're not in a sandbox anymore.
>
> Not if the user grants the access.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden