From owner-freebsd-questions@freebsd.org Thu Aug 6 15:17:45 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23CE49B4352 for ; Thu, 6 Aug 2015 15:17:45 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D9D941D7D for ; Thu, 6 Aug 2015 15:17:44 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t76FHR3q086494 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 6 Aug 2015 09:17:27 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t76FHRiw086491; Thu, 6 Aug 2015 09:17:27 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 6 Aug 2015 09:17:27 -0600 (MDT) From: Warren Block To: Anthony Campbell cc: freebsd-questions@freebsd.org Subject: Re: Permissions problem for sane In-Reply-To: <20150806144122.GB8648@ithaca.acampbell.uk> Message-ID: References: <20150806104335.GA27748@ithaca.acampbell.uk> <20150806144122.GB8648@ithaca.acampbell.uk> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 06 Aug 2015 09:17:27 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2015 15:17:45 -0000 On Thu, 6 Aug 2015, Anthony Campbell wrote: > On 06 Aug 2015, Warren Block wrote: >> On Thu, 6 Aug 2015, Anthony Campbell wrote: >> >>> My first posting to this list. I've been using 10.1 for a couple of >>> months on my Thinkpad T60 without problems. >>> >>> Trying to get my Epson 1650 scanner to work, I found it was only >>> detected as root. It's at /dev/usb:/dev/ugen0.2 >>> >>> After googling, I found instructions on Freebsd manual for 8.7, which >>> involved creating a usb group and making/modifying /etc/devfs.rules. >>> This didn't work. >>> >>> I then added myself to the wheel and operator groups but again no >>> result. >>> >>> Should I modify the permissions on /dev/ugen0.2? >> >> That will work temporarily. The scanner might not always appear at 0.2, >> though. A similar way of doing this is to make your normal user a member of >> the operator group, and assign all USB devices to that group with >> /etc/devfs.rules: >> >> add path 'usb/*' mode 0660 group operator > > Thanks for the reply. Unfortunately I've already tried that but it > doesn't make any difference. Still I can only find the scanner as root. Maybe I forgot something. I have an Epson 1640SU which works fine here. The only other setting in /etc/devfs.rules that might matter is add path 'xpt*' mode 0660 group operator