bin/129963: [newusb] usbconfig(8) fails with misleading error
when run as a normal user
M. Warner Losh
imp at bsdimp.com
Tue Jan 6 13:17:44 PST 2009
In message: <4963C48B.9030005 at elischer.org>
Julian Elischer <julian at elischer.org> writes:
: Hans Petter Selasky wrote:
: > On Tuesday 06 January 2009, M. Warner Losh wrote:
: >> In message: <200901062024.31100.hselasky at c2i.net>
: >> : Do it like this for example:
: >> :
: >> : usbconfig -u xxx -a xxx set_owner xxx set_perm 660
: >> :
: >> : This won't have no effect at all with USB2:
: >> : > [localrules=10]
: >> : > add path 'uscanner*' mode 0660
: >> : >
: >> : > to make it work. /dev/usb* in old usb allow listing w/o privs...
: >> That's bad. I'm sorry, but having to do something weird to get the
: >> scanner to work every time isn't good design.
: > I don't understand. If you are lazy you do:
: > usbconfig -u xxx set_perm 777
: how about using the standard devd stuff?
You mean devfs.
: why invent a completely new way of doing things for USB?
Exactly my point. I can paper over this with devd, but that's really
not a good way to roll long term.
More information about the freebsd-usb