Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Mike Abdullah
On 10 Oct 2012, at 00:16, Sean McBride s...@rogue-research.com wrote: On Sat, 6 Oct 2012 10:59:46 +0100, Mike Abdullah said: Sandboxed apps can resolve aliases and follow symlinks, but unless the destination is within their sandbox already they do not gain access to it, sadly. I recommend

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Sean McBride
On Wed, 10 Oct 2012 09:46:15 +0100, Mike Abdullah said: Sandboxed apps can resolve aliases and follow symlinks, but unless the destination is within their sandbox already they do not gain access to it, sadly. I recommend filing a radar requesting this. I will. Do you agree with me that

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Mike Abdullah
On 10 Oct 2012, at 15:04, Sean McBride s...@rogue-research.com wrote: On Wed, 10 Oct 2012 09:46:15 +0100, Mike Abdullah said: Sandboxed apps can resolve aliases and follow symlinks, but unless the destination is within their sandbox already they do not gain access to it, sadly. I recommend

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Uli Kusterer
On Oct 10, 2012, at 6:39 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote: * NSPathControl is more aware of the sandbox, and doesn't try to fetch icons it doesn't have access to Not if NSPathControl runs out-of-process. The NSPathControl you create could just be an IOSurface drawn into your

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Mike Abdullah
On 10 Oct 2012, at 17:57, Uli Kusterer witness.of.teacht...@gmx.net wrote: On Oct 10, 2012, at 6:39 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote: * NSPathControl is more aware of the sandbox, and doesn't try to fetch icons it doesn't have access to Not if NSPathControl runs

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-09 Thread Sean McBride
On Sat, 6 Oct 2012 10:59:46 +0100, Mike Abdullah said: Sandboxed apps can resolve aliases and follow symlinks, but unless the destination is within their sandbox already they do not gain access to it, sadly. I recommend filing a radar requesting this. I will. Do you agree with me that

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-06 Thread Mike Abdullah
Hi Sean, Sandboxed apps can resolve aliases and follow symlinks, but unless the destination is within their sandbox already they do not gain access to it, sadly. I recommend filing a radar requesting this. On 5 Oct 2012, at 20:40, Sean McBride s...@rogue-research.com wrote: Hi all,

dropping alias file on NSPathControl with App Sandbox

2012-10-05 Thread Sean McBride
Hi all, NSOpenPanal takes care of resolving aliases/symlinks for you, which is important with App Sandbox since you want access to the target not the alias file itself. But NSPathControl, in its pathControl:acceptDrop: method, does not resolve the alias for you, and try as I may, I can't find