You are not logged in.

#1 2014-01-03 19:31:58

aardwolf
Member
From: Belgium
Registered: 2005-07-23
Posts: 304

Making module permissions permanent

Hello,

After reboot, if I do
  sudo modprobe vboxdrv
After that I also have to do:
  sudo chmod 777 /dev/vboxdrv
Because otherwise virtualbox cannot access the kernel module as non-root.

Is there a way to permanently set the permissions of this kernel module? sudo chmod 777 /dev/vboxdrv seems to be not permanent.

P.S. this is a generic question about kernel modules, this is not about virtualbox, and the virtualbox I'm running is a version of 3.2.12 that I compiled myself for which I had to manually fix the source code to actually work against the latest kernel headers (because some game doesn't work in vb 4.x), so anything on the archlinux virtualbox wiki page isn't relevant smile

Thanks!

Last edited by aardwolf (2014-01-03 19:33:18)

Offline

#2 2014-01-03 21:35:51

dvdkon
Member
Registered: 2014-01-03
Posts: 6

Re: Making module permissions permanent

The best way to me seems to do it at startup - Probabbly by making a systemd service and enabling it to run at startup
EDIT: Qemu is better! smile

Last edited by dvdkon (2014-01-03 21:36:23)

Offline

Board footer

Powered by FluxBB