Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 11:16:05 -0500
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Changing permissions of /dev/usb[n] to 664?
Message-ID:  <20041107161605.GA81779@crodrigues.org>
In-Reply-To: <418DC94E.3010003@elischer.org>
References:  <20041107064227.GA79915@crodrigues.org> <418DC94E.3010003@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@crodrigues.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041107161605.GA81779>