From owner-freebsd-questions@FreeBSD.ORG Thu May 22 21:34:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9E91106567A for ; Thu, 22 May 2008 21:34:08 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from venus.karoo.kcom.com (venus.karoo.kcom.com [212.50.160.60]) by mx1.freebsd.org (Postfix) with ESMTP id 61F1A8FC18 for ; Thu, 22 May 2008 21:34:07 +0000 (UTC) (envelope-from glyn@millingtons.org) X-IronPort-AV: E=Sophos;i="4.27,526,1204502400"; d="scan'208";a="306096611" Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by venus.karoo.kcom.com with ESMTP; 22 May 2008 22:34:06 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 6847822869; Thu, 22 May 2008 22:35:23 +0100 (BST) To: =?iso-8859-1?Q?S=E9bastien?= Morand References: <4835E523.2090304@gmail.com> Organization: Central Church, Torquay, U.K. X-Now-Playing: There's a deathly hush in the close tonight! X-Liturgical-Date: Solemnity: Body and Blood of Christ, A.D. 2008 From: Glyn Millington Date: Thu, 22 May 2008 22:35:23 +0100 In-Reply-To: <4835E523.2090304@gmail.com> (=?iso-8859-1?Q?=22S=E9bastien?= Morand"'s message of "Thu\, 22 May 2008 21\:26\:59 +0000") Message-ID: <86iqx6vx7o.fsf@nowhere.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: devfs and scanner X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glyn@millingtons.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 21:34:08 -0000 S=E9bastien Morand writes: > Hi > > a would like to up my scanner automatically ofr regular user, so I > create theses lines in devfs.conf: > link uscanner0 scanner > perm uscanner0 0660 > own uscanner0 root:scanner > > I create the group scanner and add the user in it, but it doesn't > work. When I plug the scanner I get: > $ ls -l /dev/uscanner0 > crw-r--r-- 1 root operator 0, 124 May 22 21:25 /dev/uscanner0 > > And what I would like is: > crw-rw-r-- 1 root scanner 0, 124 May 22 21:25 /dev/uscanner0 > > How can I achieve this? Is the uscanner0 device also dealt with in /etc/devfs.rules ? atb Glyn