From owner-freebsd-questions@FreeBSD.ORG Thu Apr 29 22:09:05 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 77D0A106566B for ; Thu, 29 Apr 2010 22:09:05 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id E186F8FC17 for ; Thu, 29 Apr 2010 22:09:04 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id o3TM93o5022995; Fri, 30 Apr 2010 00:09:03 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id DF84CBA96; Fri, 30 Apr 2010 00:09:02 +0200 (CEST) Date: Fri, 30 Apr 2010 00:09:02 +0200 From: Roland Smith To: Warren Block Message-ID: <20100429220902.GA13539@slackbox.erewhon.net> References: <20100428182223.GA34355@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner 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:09:05 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 29, 2010 at 03:09:02PM -0600, Warren Block wrote: > On Thu, 29 Apr 2010, Marco Beishuizen wrote: >=20 > > On Thu, 29 Apr 2010, Warren Block wrote: > > > >> For the sake of completeness: devd has to be restarted after changes t= o=20 > >> devd.conf, and the code above is only executed when the scanner is det= ected=20 > >> (USB cable plugged in or scanner powered on). > > > > I rebooted and plugged in the scanner but no changes. >=20 > One other difference I found in my /etc/devfs.rules: >=20 > add path 'ugen*' mode 0660 group operator > add path 'usb/*' mode 0770 group operator Mode 0660 should be sufficient. Just make sure there is a newline at the end of the last rule! Otherwise the shell script that processes them will not s= ee them. The command 'devfs rule show' will tell you which rules have actually been created. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvaA34ACgkQEnfvsMMhpyVN8ACfeMf7D4SsRt314oSrSA9PALu7 qmcAnimnKfQkKUwXeyjyGTc7ux3uK87P =t1wl -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--