On 28/05/2012, at 6:54 PM, Jean-Daniel Dupas wrote:

> The posted documentation says:
> 
> «A POSIX function, such as getpwuid, can provide the file system path you 
> need.»
> 
> I guess it means you have to resolve the real com.apple.iApps.plist path 
> yourself and access the file directly.


Okaaay....

That's a bit weird though, because you have to put the static file paths you 
want to access in your entitlements, but getpwuid is a function call, returning 
a path dynamically. Perhaps that path is actually static? Or do I call it and 
somehow register the entitlement on the fly? If so, how?

It's documentation and commentary like this that is making it hard to adopt 
sandboxing. If they really want us to do it, why not spell it out instead of 
leaving us a trail of cryptic clues?

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to