Comment 54 for bug 156085

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 156085] Could not open /proc/bus/usb/devices

Hi TJ,

TJ [2008-09-04 18:20 +0100]:
> The USB devices in /dev/bus/usb/*/* have root:root permissions.
> Obviously it wouldn't be a great idea to have VMs running as root so I
> was looking for an existing group that might be used to modify those
> permissions so that kvm/qemu can obtain read/write access to the
> devices. Without it USB support fails.

Oh, hang on, it seems I misunderstood you in my previous reply. You
weren't talking about /dev/kvm, but the actual USB devices, for
propagating them through the kvm guest? In that case you really
shouldn't change anything. If the user can access those USB devices on
the host, then he should equally be able to access them on the guest,
since the kvm process runs under his user account and thus can use the
ACLs?