Setting udev permission for raw host disk access by virtualbox machine.
Posted 10-14-2008 at 09:02 AM by dr_agon
applies to: linux, udev, permissions, device node, virtualbox
To allow raw host disk access by guest machine on VirtualBox the user must have read-write permission to all partitions which are to be accessed. You can do this by something like
sudo chmod a+rw /dev/sda7
In modern kernels (since 2.6) you can use the udev rules for setting default permissions to selected devices. I created a file /etc/udev/rules.d/60-whatever.rules with a following rule:
That's all I needed.