USB rights in VirtualBox

The system openSUSE 12.2 64bits @ KDE 4.9.90
Virtualbox 4.1.22 + guesttools from oracle
the user is added to the group vboxusers

the problem:
usb (ipod) does not come in virtualbox as user

what i know:

  • as root the usb (ipod) comes and can use it
  • so i must be rights to use the usb as user ?!

edit:
screenshot as normal user
http://users.telenet.be/photo-memories/img/usbasuser.jpg

Where and how can i make the system right that i can use usb devices as normal user?

On Wed, 12 Dec 2012 06:36:03 +0000, heelstraf wrote:
> Where and how can i make the system right that i can use usb devices as
> normal user?

I found instructions in the VirtualBox manual that said to add a file to /
etc/udev/rules.d with the following:


KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
#these two lines give access permission to vboxusers to properly work
with usb nodes, this could be security risk (bnc#664520) !!
#
SUBSYSTEM=="usb_device",ATTR{devnum}=="?*",ATTR{busnum}=="?*",SYMLINK
+="vboxusb/$attr{busnum}/$attr{devnum}",RUN+="/usr/bin/setfacl -m
g:vboxusers:6 /dev/vboxusb/$attr{busnum}/$attr{devnum}"
SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTR{devnum}=="?*",ATTR
{busnum}=="?*",SYMLINK+="vboxusb/$attr{busnum}/$attr{devnum}",RUN+="/usr/
bin/setfacl -m g:vboxusers:6 /dev/vboxusb/$attr{busnum}/$attr{devnum}"

Then make sure the user is in the vboxusers group.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

that solved it :slight_smile:
The file was in the dir “etc/udev/rules.d”
just had to activated the two lines with “SUBSYSTEM…”

On Wed, 12 Dec 2012 18:46:01 +0000, heelstraf wrote:

> that solved it :slight_smile:
> The file was in the dir “etc/udev/rules.d”
> just had to activated the two lines with “SUBSYSTEM…”

Awesome - been so long since I enabled it, I wasn’t sure what exactly I
did, but remembered that that was where I had to make the change. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

i have the same problem,
the file mentioned exists in \etc\udev…
how do i “activate it”?
all usb devices are grayed out in the machine usb menu

Just uncomment the two lines (delete the leading #). Maybe you have to reboot (not sure).

thanx .
will try and report

thanx a lot
working:)