• 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
using apple's authorization framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using apple's authorization framework


  • Subject: using apple's authorization framework
  • From: Herbert <email@hidden>
  • Date: Sat, 05 Nov 2005 10:48:14 -0800

I'm trying to figure out how to use this. Mostly I need to run existing tools such as hdiutil to make disk images in the root folder so they are not deleted.

I've tried following apple's sample code but I get lost when they start defining their own commands/priviledges. Since I'm using an existing tool, I might think there are privilidges defined for those tools, but if there are, I don't know where apple keeps them.

What I would like to do is create the image in the root folder and then mount it (from an admin account).

I have tried just using their code that just gives you the blanket authorization for the 5 minute time-out (I know, that's bad!) but only parts of the command will work.

For example, doing that, I came up with creating the image in the local directory, and using mv to move it to the root folder (hdiutil would not allow me to create it in the root folder).

After moving it, I try to mount it, but hdiutil gives me permission denied errors.

I know it's my lack of understanding - can someone enlighted me?

Thanks in advance.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: How do I programmatically access multiple data models within XCode 2.1?
  • Next by Date: Re: Xcode 2.1 debugging
  • Previous by thread: Re: How do I programmatically access multiple data models within XCode 2.1?
  • Next by thread: Re: Xcode 2.1 debugging
  • Index(es):
    • Date
    • Thread