Re: CFURLWriteDataAndPropertiesToResource as root?
Re: CFURLWriteDataAndPropertiesToResource as root?
- Subject: Re: CFURLWriteDataAndPropertiesToResource as root?
- From: Kyle Sluder <email@hidden>
- Date: Sun, 07 Aug 2011 20:54:02 -0700
On Sun, Aug 7, 2011 at 8:48 PM, Stephen Blinkhorn
<email@hidden> wrote:
> Hello,
>
> Under Tiger, Leopard, and Snow Leopard I use
> CFURLWriteDataAndPropertiesToResource to store some data into a file. On
> Lion the default permissions appear to have been upgraded almost everywhere
> and consequently the code below isn't succeeding. Is it possible to run the
> below code as root from Cocoa?
Of course root can write anywhere.
But if you try to authorize as root, you will not be able to sell your
product in the Mac App Store.
What protected location are you trying to write to? Perhaps you should
write elsewhere.
--Kyle Sluder
_______________________________________________
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