Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing
Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing
- Subject: Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing
- From: Jon Baumgartner <email@hidden>
- Date: Thu, 05 Mar 2015 12:30:01 -0500
That bug has gotten no response whatsoever from Apple. Any advice on how to proceed?
> On Feb 4, 2015, at 1:19 PM, Jon Baumgartner <email@hidden> wrote:
>
> I filed a radar: rdar://19716583
>
>
> On 1/29/2015 10:55 AM, Kyle Sluder wrote:
>> Even in a sandbox, you can get the user’s home directory using getpwuid(3) as mentioned in the docs: https://developer.apple.com/library/mac/documentation/Security/Conceptual/AppSandboxDesignGuide/DesigningYourSandbox/DesigningYourSandbox.html
>>
>> So you could just search through your string and replace occurrences of that with a tilde, but then you have to worry about encodings and all that muck. Since there’s no security risk here, it’s reasonable to ask that the existing API work in a sandbox too.
>>
>> --Kyle Sluder
>>
>>> On Jan 29, 2015, at 7:45 AM, Jon Baumgartner <email@hidden> wrote:
>>>
>>> I’m happy to do this, but is this really a bug? I was just thinking there might be an alternate way to accomplish this.
>>>
>>>> On 1/27/2015 4:03 PM, Kyle Sluder wrote:
>>>> Could you please file a Radar describing your use case and share the
>>>> number here?
>>>>
>>>>
>
_______________________________________________
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