Re: security framework and access()
Re: security framework and access()
- Subject: Re: security framework and access()
- From: Markus Hitter <email@hidden>
- Date: Fri, 13 Jul 2001 14:24:08 +0200
Am Freitag, 13. Juli 2001 um 10:20 schrieb Matsumoto Shigeyuki:
I'm making a GUI for '/usr/bin/hdiutil' which manipulates disk images.
Because 'hdiutil' requires the privilege to open/read raw disk devices,
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?
[...] Should I give up to use security framework?
Do you think 'sudo' is safe for my purpose?
AFAIK, both should provide equal functionality.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/