From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 18:55:20 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 749EF1065679 for ; Fri, 7 Nov 2008 18:55:20 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id 34FBF8FC12 for ; Fri, 7 Nov 2008 18:55:19 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id 6149E6D423; Fri, 7 Nov 2008 19:55:23 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NrCTit9m2A9y; Fri, 7 Nov 2008 19:55:16 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id 6AF8A6D42B; Fri, 7 Nov 2008 19:55:16 +0100 (CET) Date: Fri, 7 Nov 2008 19:55:16 +0100 From: Rink Springer To: Ed Schouten Message-ID: <20081107185516.GC39947@rink.nu> References: <200811071134.42761.shoesoft@gmx.net> <200811071702.48123.hselasky@c2i.net> <20081107183801.GI1165@hoeg.nl> <200811071947.10612.hselasky@c2i.net> <20081107184929.GJ1165@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081107184929.GJ1165@hoeg.nl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Current , Hans Petter Selasky Subject: Re: usb2: scanner no longer working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2008 18:55:20 -0000 On Fri, Nov 07, 2008 at 07:49:29PM +0100, Ed Schouten wrote: > Hello Hans, > > * Hans Petter Selasky wrote: > > Basically there is nothing wrong with using chmod and chown. Hence USB > > has its own directory system which is not part of devfs, it was > > natural to also have a separate utility to set the permissions and > > ownership, which might become more complicated than simply a user and > > group. At EuroBSDcon this year I got some ideas about defining > > functional permission groups, like permissions for all USB keyboards > > for example, instead of permissions for individual devices. This > > pradigm will then break with chmod and chown. > > But that's not the right direction. If we really want to do such things, > we should add ACL support to devfs, which is already something we > eventually want to do. I don't agree that we should create yet another > namespace with permissions instead of using the traditional /dev > directory. I'm working on migrating this to make_dev(9), so USB devices will get created like everything else and thus work properly using devfs et al. -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder