• 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: Trying to understand a permissions failure when writing to ~/Desktop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to understand a permissions failure when writing to ~/Desktop


  • Subject: Re: Trying to understand a permissions failure when writing to ~/Desktop
  • From: Graham Cox <email@hidden>
  • Date: Thu, 28 Jan 2016 17:08:11 +1100

> On 28 Jan 2016, at 4:36 PM, Graham Cox <email@hidden> wrote:
>
> Why would the OS think an app was sandboxed


OK, I think I found the problem. In Build Settings->Code Signing, the “Code Signing Entitlements” was set to a .entitlements file which is actually nothing to do with this product. I don’t know where it got that setting from (I’ve never set it), but it’s wrong. I deleted it and now my app seems to be happy to write where it wants to and doesn’t create a container.

I’m supposing that the actual sandboxing entitlements are baked into the code signature, not just read from a resource file, and that’s where the system gets its info.

So Alex, you were right ;)

—Graham



_______________________________________________

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


  • Follow-Ups:
    • Re: Trying to understand a permissions failure when writing to ~/Desktop
      • From: "Clark S. Cox III" <email@hidden>
    • Re: Trying to understand a permissions failure when writing to ~/Desktop
      • From: Alex Zavatone <email@hidden>
References: 
 >Trying to understand a permissions failure when writing to ~/Desktop (From: Graham Cox <email@hidden>)
 >Re: Trying to understand a permissions failure when writing to ~/Desktop (From: Alex Zavatone <email@hidden>)
 >Re: Trying to understand a permissions failure when writing to ~/Desktop (From: Roland King <email@hidden>)
 >Re: Trying to understand a permissions failure when writing to ~/Desktop (From: Alex Zavatone <email@hidden>)
 >Re: Trying to understand a permissions failure when writing to ~/Desktop (From: Graham Cox <email@hidden>)
 >Re: Trying to understand a permissions failure when writing to ~/Desktop (From: Roland King <email@hidden>)
 >Re: Trying to understand a permissions failure when writing to ~/Desktop (From: Graham Cox <email@hidden>)
 >Re: Trying to understand a permissions failure when writing to ~/Desktop (From: Kyle Sluder <email@hidden>)
 >Re: Trying to understand a permissions failure when writing to ~/Desktop (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Trying to understand a permissions failure when writing to ~/Desktop
  • Next by Date: Re: Obj-C - your thoughts on hiding data members?
  • Previous by thread: Re: Trying to understand a permissions failure when writing to ~/Desktop
  • Next by thread: Re: Trying to understand a permissions failure when writing to ~/Desktop
  • Index(es):
    • Date
    • Thread