• 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: security framework and access()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: security framework and access()


  • Subject: RE: security framework and access()
  • From: Matsumoto Shigeyuki <email@hidden>
  • Date: Mon, 16 Jul 2001 10:23:38 +0900

>> I used AuthorizationExecuteWithPrivileges in security framework. But
>> launched instance of 'hdiutil' fails to open raw disk devices.
>
>What is your exact command? What is the error message? Does it work on
>the command line? Did you try similar or other helpful commands in place?
The command is like that,
hdiutil convert /dev/rdisk1s1s2 -format UDRO -o /tmp/DiskImage
and it works on the command line. (You will need 'sudo' before the line.)

>> Do you think 'sudo' is safe for my purpose?
>
>AFAIK, both should provide equal functionality.
I expected so.
But it seems that AuthorizationExecuteWithPrivileges is using seteuid(),
not setuid(). I could understood if they say "This is our policy".

Shigeyuki Matsumoto


  • Prev by Date: Re: security framework and access()
  • Next by Date: Re: Currency Converter sample [rateField selectText:self]; doesn't work...?
  • Previous by thread: Re: security framework and access()
  • Next by thread: ScreenSaver Contest Update & User Choice Info
  • Index(es):
    • Date
    • Thread