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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to