On Thu, Apr 16, 2009 at 7:23 PM, Chris Purcell <haroldthehun...@mac.com> wrote: > 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?
Ah. I'm afraid not, at least not directly. I think there's some machinery in the OS to recreate a skeleton home directory for users, but that might only be involved in a network environment. Make sure to read and understand the BetterAuthorizationSample and the security implications mentioned therein. Also read up on messages regarding AuthorizationExecuteWithPrivileges on this list (maybe also the CDSA list as well? I'm not a subscriber). Good luck, --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com