• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing


  • Subject: Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing
  • From: Jon Baumgartner <email@hidden>
  • Date: Wed, 04 Feb 2015 13:28:28 -0500

I filed a radar: rdar://19716583

On Thu, Jan 29, 2015 at 10:55 AM, Kyle Sluder <email@hidden> 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


  • Prev by Date: Re: Resolving bizarre autolayout crashes.
  • Next by Date: Re: Resolving bizarre autolayout crashes.
  • Previous by thread: Re: Resolving bizarre autolayout crashes.
  • Next by thread: Self describing NSObjects.
  • Index(es):
    • Date
    • Thread