Re: Create folder in protected directory
Re: Create folder in protected directory
- Subject: Re: Create folder in protected directory
- From: Chris Purcell <email@hidden>
- Date: Thu, 16 Apr 2009 16:23:56 -0700
Thanks for reply Kyle. The app restores a user's user folder and
needs to recreate that folder within the /Users directory. Is there
an easier way to accomplish this then having to use the Authorization
services C library?
On Apr 16, 2009, at 3:53 PM, Kyle Sluder <email@hidden> wrote:
On Thu, Apr 16, 2009 at 5:59 PM, Chris Purcell <email@hidden
> wrote:
My App has to create a folder in a directory owned by the system.
How would
I go about doing this, do I need to use the security framework and
get the
user to authenticate themselves as an admin?
Yes, the Security framework is necessary here, but the more important
question is why you need to do this.
--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