Date: Fri, 23 May 2008 00:41:58 +0200 From: Roland Smith <rsmith@xs4all.nl> To: =?iso-8859-15?Q?S=E9bastien?= Morand <seb.morand@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: devfs and scanner Message-ID: <20080522224158.GA87230@slackbox.xs4all.nl> In-Reply-To: <4835E523.2090304@gmail.com> References: <4835E523.2090304@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 22, 2008 at 09:26:59PM +0000, S=E9bastien Morand wrote: > Hi >=20 > a would like to up my scanner automatically ofr regular user, so I create= =20 > theses lines in devfs.conf: > link uscanner0 scanner > perm uscanner0 0660 > own uscanner0 root:scanner >=20 > I create the group scanner and add the user in it, but it doesn't work.= =20 > 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 >=20 > And what I would like is: > crw-rw-r-- 1 root scanner 0, 124 May 22 21:25 /dev/uscanner0 >=20 > How can I achieve this? Devfs.conf only deals with devices available at boot. For hotpluggable devices like USB, use devfs.rules. See the devfs.rules manual page. 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) --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkg19rYACgkQEnfvsMMhpyVl+wCfeuo3pkmb3iOk8o+tNnga0jdv PpAAnRQgQBPN7dBnC6qgHkX7W4/S7pbL =UkKR -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080522224158.GA87230>