UOS升级到virtualbox 6.1 权限有问题
Tofloor
poster avatar
hedajun
deepin
2020-10-10 19:52
Author
UOS升级到当前最新的virtualbox 6.1 权限有问题,安装路径下的文件权限都变成了用户,不是root,导致virtualbox启动虚拟电脑报错。
Reply Favorite View the author
All Replies
avatar
HoneyGIFT
deepin
2020-10-10 23:06
#1
当前用户加入到vbox组里。
Reply View the author
avatar
from-mail_1xx-xxxx-007
deepin
2020-10-11 19:11
#2
  1. sudo chown root (此处替换为文件位置+文件名)
Copy the Code
Reply View the author
avatar
finding006
deepin
2020-10-11 21:34
#3
我已经回退到6.1.12-139181版本了。下载路径
https://community-packages.deepi ... b/v/virtualbox-6.1/
Reply View the author
avatar
hedajun
deepin
2020-10-12 20:07
#4
https://bbs.deepin.org/post/203598
当前用户加入到vbox组里。

本来就是vbox组的。这个是升级的bug。
Reply View the author
avatar
hedajun
deepin
2020-10-12 20:08
#5

是的,用户,组,还有“s”权限都改了就能正常使用了。
Reply View the author
avatar
hedajun
deepin
2020-10-12 20:09
#6
https://bbs.deepin.org/post/203598
我已经回退到6.1.12-139181版本了。下载路径
https://community-packages.deepin.com/deepin/pool/contrib/ ...

手动修改了权限后还是能正常使用的。
Reply View the author
avatar
shineshqw
deepin
2020-10-16 01:51
#7
https://bbs.deepin.org/post/203598
是的,用户,组,还有“s”权限都改了就能正常使用了。

具体命令是什么,能打出来吗,我也没看到vbox组
Reply View the author
avatar
shineshqw
deepin
2020-10-16 01:53
#8
具体命令是什么,能打出来吗,我也没看到vbox组,求详细的命令
Reply View the author
avatar
走钢丝
deepin
2020-10-16 01:57
#9
https://bbs.deepin.org/post/203598
具体命令是什么,能打出来吗,我也没看到vbox组,求详细的命令
  1. sudo adduser xxx vboxusers
Copy the Code
Reply View the author
avatar
shineshqw
deepin
2020-10-16 03:44
#10

sudo adduser shqw vboxusers,我执行了过后,还是不行啊,还是报同样的错啊
Reply View the author
avatar
走钢丝
deepin
2020-10-16 03:45
#11
https://bbs.deepin.org/post/203598
sudo adduser shqw vboxusers,我执行了过后,还是不行啊,还是报同样的错啊

你报什么错?
Reply View the author
avatar
shineshqw
deepin
2020-10-16 03:46
#12
我安装的是UOS个人版
Reply View the author
avatar
shineshqw
deepin
2020-10-16 03:50
#13

我安装的事UOS个人版,报错就是图片上的报错信息attach://104398.png
Reply View the author
avatar
走钢丝
deepin
2020-10-16 03:56
#14
https://bbs.deepin.org/post/203598
我安装的事UOS个人版,报错就是图片上的报错信息attach://104398.png

稀奇,这个问题还真没见过。你没卸载重装过么?以前是正常的?
Reply View the author
avatar
shineshqw
deepin
2020-10-16 03:58
#15
https://bbs.deepin.org/post/203598
稀奇,这个问题还真没见过。你没卸载重装过么?以前是正常的?

我以前没装过,就今天想尝试下,结果就报错了,尝试了重新安装,还是不行,还尝试安装6.0版本的,也报错,不过不是同样的错误
Reply View the author
avatar
走钢丝
deepin
2020-10-16 04:04
#16
https://bbs.deepin.org/post/203598
我以前没装过,就今天想尝试下,结果就报错了,尝试了重新安装,还是不行,还尝试安装6.0版本的,也报错 ...

只能请官方看看了。https://bbs.deepin.org/user/48640
Reply View the author
avatar
hedajun
deepin
2020-10-16 05:36
#17
https://bbs.deepin.org/post/203598
我安装的事UOS个人版,报错就是图片上的报错信息attach://104398.png

把安装路径下所有文件的权限改正确就可以正常使用了。用户和组都是root,注意有几个文件还有“s”权限。子文件夹的文件权限也需要改。如下:
ls -l /usr/lib/virtualbox
总用量 109220
drwxr-xr-x 2 root root     4096 7月  11 17:07 additions
-rwxr-xr-x 1 root root     7926 7月  11 17:03 check_module_dependencies.sh
drwxr-xr-x 2 root root     4096 9月   2 19:04 components
-rw-r--r-- 1 root root   448352 7月  11 17:07 DbgPlugInDiggers.so
drwxr-xr-x 4 root root     4096 9月   2 19:04 dtrace
drwxr-xr-x 3 root root     4096 9月   2 22:50 ExtensionPacks
-rwxr-xr-x 1 root root   506344 7月  11 17:08 kchmviewer
-rw-r--r-- 1 root root   126000 7月  11 17:07 libvboxjxpcom.so
-rwxr-xr-x 1 root root     4278 7月  11 17:03 postinst-common.sh
-rwxr-xr-x 1 root root     2722 7月  11 17:03 prerm-common.sh
-rwxr-xr-x 1 root root    12921 4月  10  2020 routines.sh
drwxr-xr-x 3 root root     4096 9月   2 19:04 sdk
-rw-r--r-- 1 root root 37055312 7月  11 17:07 UICommon.so
drwxr-xr-x 2 root root     4096 9月   2 19:04 UnattendedTemplates
-rw-r--r-- 1 root root    31160 7月  11 17:07 VBoxAuthSimple.so
-rw-r--r-- 1 root root    10360 7月  11 17:07 VBoxAuth.so
-rwxr-xr-x 1 root root   120984 7月  11 17:08 VBoxAutostart
-rwxr-xr-x 1 root root     3338 7月  11 17:03 vboxautostart-service.sh
-rwxr-xr-x 1 root root   170472 7月  11 17:08 VBoxBalloonCtrl
-rwxr-xr-x 1 root root     6498 7月  11 17:03 vboxballoonctrl-service.sh
-rwxr-xr-x 1 root root    88208 7月  11 17:08 VBoxBugReport
-rwxr-xr-x 1 root root     1505 4月  10  2020 VBoxCreateUSBNode.sh
-rw-r--r-- 1 root root   179544 7月  11 17:07 VBoxDbg.so
-rw-r--r-- 1 root root  8746872 7月  11 17:07 VBoxDD2.so
-rw-r--r-- 1 root root   334928 7月  11 17:06 VBoxDDR0.r0
-rw-r--r-- 1 root root  3996776 7月  11 17:07 VBoxDD.so
-rw-r--r-- 1 root root   443192 7月  11 17:07 VBoxDDU.so
-rw-r--r-- 1 root root    35096 7月  11 17:07 VBoxDragAndDropSvc.so
-rwxr-xr-x 1 root root    20643 7月  11 17:03 vboxdrv.sh
-rwxr-xr-x 1 root root    55504 7月  11 17:08 VBoxExtPackHelperApp
-rw-r--r-- 1 root root    30944 7月  11 17:07 VBoxGuestControlSvc.so
-rw-r--r-- 1 root root    39360 7月  11 17:07 VBoxGuestPropSvc.so
-r-s--x--x 1 root root   157744 7月  11 17:08 VBoxHeadless
-rw-r--r-- 1 root root   109560 7月  11 17:07 VBoxHeadless.so
-rw-r--r-- 1 root root    18480 7月  11 17:07 VBoxHostChannel.so
-rwxr-xr-x 1 root root  1926056 7月  11 17:08 vbox-img
-rwxr-xr-x 1 root root   121568 7月  11 17:08 vboximg-mount
-rw-r--r-- 1 root root    70024 7月  11 17:07 VBoxKeyboard.so
-rwxr-xr-x 1 root root  1423616 7月  11 17:08 VBoxManage
-r-s--x--x 1 root root    26760 7月  11 17:08 VBoxNetAdpCtl
-r-s--x--x 1 root root   157736 7月  11 17:08 VBoxNetDHCP
-rw-r--r-- 1 root root   249304 7月  11 17:07 VBoxNetDHCP.so
-r-s--x--x 1 root root   157736 7月  11 17:08 VBoxNetNAT
-rw-r--r-- 1 root root   282848 7月  11 17:07 VBoxNetNAT.so
-rw-r--r-- 1 root root   209488 7月  11 17:07 VBoxPython2_7.so
-rw-r--r-- 1 root root   209656 7月  11 17:07 VBoxPython3_6m.so
-rw-r--r-- 1 root root   209488 7月  11 17:07 VBoxPython.so
-rw-r--r-- 1 root root  3457064 7月  11 17:07 VBoxRT.so
-r-s--x--x 1 root root   157736 7月  11 17:08 VBoxSDL
-rw-r--r-- 1 root root   183888 7月  11 17:07 VBoxSDL.so
-rw-r--r-- 1 root root    60008 7月  11 17:07 VBoxSharedClipboard.so
-rw-r--r-- 1 root root    64072 7月  11 17:07 VBoxSharedFolders.so
-rwxr-xr-x 1 root root   122294 4月  10  2020 vboxshell.py
-rwxr-xr-x 1 root root  7678256 7月  11 17:08 VBoxSVC
-rw-r--r-- 1 root root   248472 7月  11 17:07 VBoxSVGA3D.so
-rwxr-xr-x 1 root root    63616 7月  11 17:08 VBoxTestOGL
-rw-r--r-- 1 root root  4241096 7月  11 17:07 VBoxVMM.so
-r-s--x--x 1 root root    10200 7月  11 17:08 VBoxVolInfo
-rwxr-xr-x 1 root root     6441 7月  11 17:03 vboxweb-service.sh
-rwxr-xr-x 1 root root 29212624 7月  11 17:08 vboxwebsrv
-rw-r--r-- 1 root root    43624 7月  11 17:07 VBoxXPCOMC.so
-rwxr-xr-x 1 root root    26752 7月  11 17:08 VBoxXPCOMIPCD
-rw-r--r-- 1 root root  1147104 7月  11 17:07 VBoxXPCOM.so
-rwxr-xr-x 1 root root  2696744 7月  11 17:08 VirtualBox
-r-s--x--x 1 root root   157744 7月  11 17:08 VirtualBoxVM
-rw-r--r-- 1 root root  1831040 7月  11 17:07 VirtualBoxVM.so
-rw-r--r-- 1 root root  2476976 7月  11 17:06 VMMR0.r0
Reply View the author
avatar
hedajun
deepin
2020-10-16 05:38
#18
https://bbs.deepin.org/post/203598
我安装的事UOS个人版,报错就是图片上的报错信息attach://104398.png

你这个文件夹下的文件权限应该不是root。
ls -l /usr/lib/virtualbox
Reply View the author