• 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: 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


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

  • Prev by Date: Quickie question on text edit cycle (and textDidEndEditing notification)
  • 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: Re: Create folder in protected directory
  • Index(es):
    • Date
    • Thread