Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server running ubuntu server 12.04 and have an application that needs access to some usb lights is there a standard device group i can add the user to, or some other way to give it permissions to all usb hardware? or at least the usb lights?

I have currently got this working by adding the user to the root group which i know is not optimal.

share|improve this question
up vote 1 down vote accepted

Apparently you may be able to add the user to the usb group to enable, but that is akin to giving the user 'root' group permissions, apparently.

from the link, above:

Fine-tuning of device attributes such as group name and permissions is possible by creating extra udev rules, matching on something like this. The vendor and product can be found by searching the /sys/devices directory entries or using udevadm info after the device has been attached. See the documentation in the current udev directory of /usr/share/doc for details.

for example

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="05d8", SYSFS{idProduct}=="4002", \
GROUP:="scanner", MODE:="0660"

'scanner' would be the group assigned to the item above. Again, according to the post, udevadm info would give the vendo and product ids for above.

share|improve this answer
a little google goes a long way:… – Ben West Oct 18 '12 at 4:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.