From owner-freebsd-questions@FreeBSD.ORG Sat Jul 30 14:13:06 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 014B916A41F for ; Sat, 30 Jul 2005 14:13:06 +0000 (GMT) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (blackend.org [212.11.35.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A3E443D5C for ; Sat, 30 Jul 2005 14:13:04 +0000 (GMT) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.3/8.13.3) with ESMTP id j6UED32s023287; Sat, 30 Jul 2005 16:13:03 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost.blackend.org [127.0.0.1]) by gothic.blackend.org (8.13.3/8.13.3) with ESMTP id j6UED3vB001255; Sat, 30 Jul 2005 16:13:03 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.13.3/8.13.3/Submit) id j6UED3YU001254; Sat, 30 Jul 2005 16:13:03 +0200 (CEST) (envelope-from marc) Date: Sat, 30 Jul 2005 16:13:03 +0200 From: Marc Fonvieille To: Erik =?iso-8859-1?B?TsO4cmdhYXJk?= Message-ID: <20050730141302.GD596@gothic.blackend.org> References: <20050730120218.GC596@gothic.blackend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Useless-Header: blackend.org X-Operating-System: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Cc: questions@freebsd.org Subject: Re: scanimage -L doesn't work as normal user 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: Sat, 30 Jul 2005 14:13:06 -0000 On Sat, Jul 30, 2005 at 03:42:54PM +0200, Erik Nørgaard wrote: > On Sat, 30 Jul 2005, Marc Fonvieille wrote: > > > On Sat, Jul 30, 2005 at 01:41:20PM +0200, Erik Nørgaard wrote: > > > > Wrong perms on ugen0, read carefully: > > 7.6.4 Allowing Scanner Access to Other Users > > if you want ugen0 appears with the right permissions once you plug your > > scanner. The current devfs scheme you use (Cf. your previous mail) > > should work if you boot directly with your scanner plugged and not if > > you plug it later. > > According to the man-pages, this should be solved by adding the > folowing rules to /etc/devfs.rules: > > # Allow any user to access uscanner and ugen devices rw > add path 'usb0' mode 0666 > add path 'ugen*' mode 0666 > add path 'uscanner*' mode 0666 > you should add a ruleset line before your lines. > I restarted devfs but the devices were created with the wrong > permissions when I plugged in the scanner? > I don't understand the "?" > If I restart devfs after plugging in the scanner permissions are > corrected. But I think this is rather annoying - is this intended? > no problem report has been filed on this issue... [...] I think it's a ruleset issue as I said above. Another thing devfs.rules is for pluggable devices, devfs.conf for devices present at boot time. Marc