From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 18:45:02 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 B7B85106567F for ; Fri, 7 Nov 2008 18:45:02 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swipnet.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 5023A8FC08 for ; Fri, 7 Nov 2008 18:45:01 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=xohTbFvHdNv8H3mAFWgA:9 a=sBHy_t0RUF-mRyV8xUzPs4ugEbwA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 401722284; Fri, 07 Nov 2008 19:45:00 +0100 From: Hans Petter Selasky To: Ed Schouten Date: Fri, 7 Nov 2008 19:47:09 +0100 User-Agent: KMail/1.9.7 References: <200811071134.42761.shoesoft@gmx.net> <200811071702.48123.hselasky@c2i.net> <20081107183801.GI1165@hoeg.nl> In-Reply-To: <20081107183801.GI1165@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811071947.10612.hselasky@c2i.net> Cc: FreeBSD Current 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:45:02 -0000 On Friday 07 November 2008, Ed Schouten wrote: > * Hans Petter Selasky wrote: > > Try changing ownership of the USB devices? Maybe it is a permissions > > problem. > > > > usbconfig -u xx -a xx set_owner xx:yy > > What's wrong with chmod(1) and chown(1)? Hi Ed, 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. --HPS