CFURLWriteDataAndPropertiesToResource as root?
CFURLWriteDataAndPropertiesToResource as root?
- Subject: CFURLWriteDataAndPropertiesToResource as root?
- From: Stephen Blinkhorn <email@hidden>
- Date: Sun, 07 Aug 2011 21:48:50 -0600
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?
SInt32 errorCode;
Boolean status = CFURLWriteDataAndPropertiesToResource(file_url,
xml_data, NULL, &errorCode);
Thanks,
Stephen
_______________________________________________
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