Changing permissions of /dev/usb[n] to 664?

Craig Rodrigues rodrigc at crodrigues.org
Sun Nov 7 08:16:07 PST 2004


On Sat, Nov 06, 2004 at 11:05:50PM -0800, Julian Elischer wrote:
> Do you WANT non operators to be aware of the hardware configuration?
> Surely people who need to know can be in group operator.

If I can do the following without being in group operator:
pciconf -l
devinfo

Then why shouldn't I also be able to do:
usbdevs -v

I looked at other drivers in src/sys/dev/usb, and the ones that
have a make_dev() call invoke make_dev() with 0644.  So at
least this would be consistent with the other USB drivers.

> I'm not saying that you don't, just that it needs to be considerred.
> And is that ALL they can do if you change it?

I don't see what the problem would be for giving 
read-only access to /dev/usb[n] for non-operators, but I'll
let someone else chime in.
-- 
Craig Rodrigues        
http://crodrigues.org
rodrigc at crodrigues.org


More information about the freebsd-usb mailing list