28 Jan
2011
28 Jan
'11
4 p.m.
I tested, and with my installer -- which is set to require RootAuthorization -- the following Python snippet in a postflight script: if real_uid == 0 and effective_uid == 0: ... does succeed. Both the UID and EUID are 0. I also see that the launchdaemon that I was trying to load is, in fact, loaded afterwards (when running launchctl with sudo). Although I'm going to have to confirm that on a clean system, so take that result with a grain of salt. -- Jeremy