码迷,mamicode.com
首页 > 其他好文 > 详细

VirtualBox: Effective UID is not root

时间:2015-07-15 11:28:13      阅读:288      评论:0      收藏:0      [点我收藏+]

标签:

桌面上运行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

VirtualBox: Effective UID is not root

标签:

原文地址:http://my.oschina.net/surjur/blog/478660

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!