virtualbox问题

启动后提示如下

The VirtualBox kernel driver is not accessible to the current user. Make sure that the user has write permissions for /dev/vboxdrv by adding them to the vboxusers groups. You will need to logout for the change to take effect..

VBox status code: -1909 (VERR_VM_DRIVER_NOT_ACCESSIBLE).
Result Code:

0x80004005

Component:

Console

Interface:

IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

sudo usermod -G vboxusers -A myname搞不定,/dev/vboxdrv的权限改了不能保存,重启后要重新改。晕哦

解决的方法:
sudo chmod 777 /dev/vboxdrv