• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Create folder in protected directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create folder in protected directory


  • Subject: Re: Create folder in protected directory
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 16 Apr 2009 20:27:38 -0400

On Thu, Apr 16, 2009 at 7:23 PM, Chris Purcell <email@hidden> 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 (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

References: 
 >Create folder in protected directory (From: Chris Purcell <email@hidden>)
 >Re: Create folder in protected directory (From: Kyle Sluder <email@hidden>)
 >Re: Create folder in protected directory (From: Chris Purcell <email@hidden>)

  • Prev by Date: Re: Setting up an auxiliary task for use with Distributed Objects
  • Next by Date: Re: Reading in dictionary from txt file: options for speed
  • Previous by thread: Re: Create folder in protected directory
  • Next by thread: NSView modifies CALayer's masksToBounds?
  • Index(es):
    • Date
    • Thread