VirtualBox: Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100)
桌面上运行virtualbox出错:
The virtual machine 'xp' has terminated unexpectedly during startup with exit code 1 (0x1).
Effective UID is not root(euid=1000 egid=482 uid=1000 gid=482)(rc=-10)
Please try reinstalling VirtualBox.
手动敲命令运行/usr/lib/virtual/VirtualBox的出错提示
VirtualBox: Error -10 in SUPR3HardenedMain!
VirtualBox: Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100)
VirtualBox: Tip! It may help to reinstall VirtualBox.
重新安装virtualbox问题依旧, 查看其mode状态
ls -l /usr/lib/virtual/VirtualBox
-rwxr-x--- 1 root vboxusers 35368 4月 15 01:50 VirtualBox
上面这种mode是不对的,需要修改
sudo chmod 4711 /usr/lib/virtualbox/VirtualBox
再次查看
ls -l /usr/lib/virtualbox/VirtualBox
-rws--x--x 1 root vboxusers 35368 4月 15 01:50 /usr/lib/virtualbox/VirtualBox
对了,再运行,可以了.
转载来自: http://blog.chinaunix.net/uid-20680966-id-5031178.html