[ubuntu-za] USB devices (camera) in Edgy

Jonathan Hitchcock jonathan.hitchcock at gmail.com
Tue Mar 27 08:21:10 BST 2007


Robert Holm wrote:
> I went into /etc/udev/rules.d/40-permissions.rules and changed
> 
> # USB devices (usbfs replacement)
> SUBSYSTEM=="usb_device",		MODE="0664"
> 
> to read
> 
> # USB devices (usbfs replacement)
> SUBSYSTEM=="usb_device",		MODE="0666"

That would work, ja, although it's not the 100% perfect solution, since
it makes the device world-writeable.  As you said, it doesn't matter
since it's your home computer.  I would, however, like to get to the
bottom of it if you've got time/energy?

What happens if you change the line to read as follows?

SUBSYSTEM=="usb_device",	GROUP="plugdev", MODE="0664"

This should mean that people in the plugdev group (i.e. you) can access
the device, and others can't.  That way, it's the secure, correct
solution ;-)




More information about the ubuntu-za mailing list