19 Nov
2007
19 Nov
'07
10:34 a.m.
At 23:14 +0200 17/11/07, Yaniv Aknin wrote:
I'm writing a Tiger agent in Python and C which must run as root (it enforces policies on the user). The agent should, however, know which user it is enforcing (this is due to DiskArbitration's inability to create a 'global' Approval session affecting all users).
It seems like this is where you're getting into trouble. DiskArb is a daemon-safe framework. I believe it should be possible for a daemon to implement a DAApprovalSessionRef that affects all mounts on the system. Can you explain how you tried to do that and what went wrong? S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware