From owner-freebsd-current@FreeBSD.ORG Mon Oct 20 09:06:10 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22BC416A4B3; Mon, 20 Oct 2003 09:06:10 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D13043F85; Mon, 20 Oct 2003 09:06:08 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) h9KG63t2034827 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 20 Oct 2003 18:06:06 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id h9KFjcS8024182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Oct 2003 17:45:38 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id h9KFjb2u039590; Mon, 20 Oct 2003 17:45:37 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id h9KFjb75039589; Mon, 20 Oct 2003 17:45:37 +0200 (CEST) (envelope-from ticso) Date: Mon, 20 Oct 2003 17:45:37 +0200 From: Bernd Walter To: Poul-Henning Kamp Message-ID: <20031020154536.GE38650@cicely12.cicely.de> References: <20031020113514.GA875@titan.klemm.apsfilter.org> <9571.1066650290@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9571.1066650290@critter.freebsd.dk> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i 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 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 16:06:10 -0000 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