From owner-freebsd-stable@FreeBSD.ORG Wed Nov 9 00:23:28 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C26B16A41F for ; Wed, 9 Nov 2005 00:23:28 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FE5A43D45 for ; Wed, 9 Nov 2005 00:23:27 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp133-212.lns2.adl2.internode.on.net [59.167.133.212]) by smtp3.adl2.internode.on.net (8.12.9/8.12.6) with ESMTP id jA90NIYJ010552; Wed, 9 Nov 2005 10:53:22 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.dons.net.au (inchoate.dons.net.au [10.0.2.99]) (authenticated bits=0) by midget.dons.net.au (8.13.4/8.13.3) with ESMTP id jA90NALl094345 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 9 Nov 2005 10:53:12 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Wed, 9 Nov 2005 10:52:55 +1030 User-Agent: KMail/1.8.2 References: <200511082054.42113.andyfraser@gmail.com> <200511090841.36177.doconnor@gsoft.com.au> <200511082250.04433.andyfraser@gmail.com> In-Reply-To: <200511082250.04433.andyfraser@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1189076.3IE2DynkMW"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200511091053.08122.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.52 on 10.0.2.7 Cc: Andy Fraser Subject: Re: USB Card Reader Permissions X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 00:23:28 -0000 --nextPart1189076.3IE2DynkMW Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 9 Nov 2005 09:20, Andy Fraser wrote: > On Tuesday 08 Nov 2005 10:11 pm, Daniel O'Connor wrote: > > > I was wondering if someone could tell me how to set the permissions f= or > > > a USB card reader when it's plugged in? I've been Googling for hours > > > and found nothing concrete so far although I'll keep looking. > > > > devfs.conf can do it. > > I thought that was only for devices that exist at boot? I have my DVD > burner set up in devfs.conf so I can use it as my user (reading and burni= ng > with some other tweaks[1]). Nope, it's applied to all devices as they are created as well as pre-existi= ng=20 ones. > ...and this turned out to be the missing piece in the jigsaw. Yeah it took me a while to find out you needed that too :) > [1] One of the reasons I first tried FreeBSD as a desktop OS was because = it > has better support for CD/DVD burning as a user than Linux does (I still > can't get burning working reliably with Gentoo but FreeBSD works > flawlessly). And the sound system is much better but that's another story. > :-) Weird, I would expect it to be largely the same. PS another way to do this would be to create a devd file which does the=20 chmod's for this particular device (instead of blindly changing all da=20 devices). =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1189076.3IE2DynkMW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDcUFr5ZPcIHs/zowRAv7QAKCe1rUDZTADiP3Y+lE50uR/akT3VwCeKgYy 5quk06EGYVqBifXHVpIU/lQ= =k59O -----END PGP SIGNATURE----- --nextPart1189076.3IE2DynkMW--