Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2003 17:45:37 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: USB problem: /dev/ugen* dynamically auto-reconfigures to root:operator 644, so non-root user unable to access USB devices even if wanted
Message-ID:  <20031020154536.GE38650@cicely12.cicely.de>
In-Reply-To: <9571.1066650290@critter.freebsd.dk>
References:  <20031020113514.GA875@titan.klemm.apsfilter.org> <9571.1066650290@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 20, 2003 at 01:44:50PM +0200, Poul-Henning Kamp wrote:
> In message <20031020113514.GA875@titan.klemm.apsfilter.org>, Andreas Klemm writ
> es:
> >root@titan[ttyp2]{6} ~ ls -l /dev/ugen*
> >crw-r--r--  1 root  operator  114,   0 Oct 20 13:14 /dev/ugen0
> >crw-r--r--  1 root  operator  114,   2 Oct 20 13:14 /dev/ugen0.2
> >crw-rw-rw-  1 root  operator  114,  16 Oct 20 13:14 /dev/ugen1
> >crw-r--r--  1 root  operator  114,  17 Oct 20 13:14 /dev/ugen1.1
> >crw-r--r--  1 root  operator  114,  18 Oct 20 13:14 /dev/ugen1.2
> >crw-r--r--  1 root  operator  114,  19 Oct 20 13:14 /dev/ugen1.3
> >
> >And voila, ther permission are wrong again.
> 
> I have no idea what goes on here.

An USB device can be switched between several alternative
configurations.
If such a change is requested (USB_SET_CONFIG) the devicenode for
everything but the control channel is recreated.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



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