From owner-freebsd-questions@FreeBSD.ORG Thu Apr 29 22:32:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0D46106566C for ; Thu, 29 Apr 2010 22:32:13 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 5EDDD8FC17 for ; Thu, 29 Apr 2010 22:32:12 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o3TMWC2C026302; Thu, 29 Apr 2010 16:32:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o3TMWCrk026299; Thu, 29 Apr 2010 16:32:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 29 Apr 2010 16:32:12 -0600 (MDT) From: Warren Block To: Roland Smith In-Reply-To: <20100429220902.GA13539@slackbox.erewhon.net> Message-ID: References: <20100428182223.GA34355@slackbox.erewhon.net> <20100429220902.GA13539@slackbox.erewhon.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Thu, 29 Apr 2010 16:32:12 -0600 (MDT) Cc: Marco Beishuizen , freebsd-questions@freebsd.org Subject: Re: Using a scanner (USB) as user and not as root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 22:32:13 -0000 On Fri, 30 Apr 2010, Roland Smith wrote: > On Thu, Apr 29, 2010 at 03:09:02PM -0600, Warren Block wrote: >> >> One other difference I found in my /etc/devfs.rules: >> >> add path 'ugen*' mode 0660 group operator >> add path 'usb/*' mode 0770 group operator > > Mode 0660 should be sufficient. Just tried, and you're right, it is. > Just make sure there is a newline at the end of the last rule! > Otherwise the shell script that processes them will not see them. Seems like it ought to append a newline to devfs.rules before processing to avoid that type of surprise. -Warren Block * Rapid City, South Dakota USA