[ubuntu-za] USB devices (camera) in Edgy
Robert Holm
robhh at absamail.co.za
Tue Mar 27 19:18:40 BST 2007
On Tue, 2007-03-27 at 09:21 +0200, Jonathan Hitchcock wrote:
> 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 ;-)
Time and energy to try something new I have in abundance.
That works perfectly. A much more elegant solution.
Thanks
Robert H
More information about the ubuntu-za
mailing list