Thomas, On Tuesday 05 May 2009, Thomas De Contes wrote: > Le 3 mai 09 à 19:36, Peter Ondruška a écrit : > > I am asked for privileges during installation. I guess it is only > > to add files (like kernel modules) to locations not writable by > > regular users. Is there anything else I am missing? > > Yes ;-) > > In the "postflight" script of VirtualBox (the .pkg inside the .mpkg) > there is > chown -R root:admin /Applications/VirtualBox.app > ! > > I didn't want to do that, > but after doing the continuation of this "postflight" script which > makes some hard links, > it doesn't want to launch > Then i did > ln -s /Users/thomas/Applications/special/VirtualBox.app/ / > Applications/VirtualBox.app > and it launches (Well, somewhere is the path hard-coded, it shouldn't > be very difficult to correct it) > But ...
I'm not the Mac expert here but I know that on Mac (like on Linux) we use so-called hardened builds improving the security. There are small hardened stubs which are required to run with root privileges. These stubs are very small and do not much more than integritiy checks and opening the kernel driver. The real VirtualBox binaries run with non-root privileges, you can verify that with a process viewer. Kind regards, Frank -- Dr.-Ing. Frank Mehnert Sun Microsystems, Inc. www.sun.com
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
