From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 23:11:23 2005 Return-Path: X-Original-To: freebsd-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 2B1D916A41C for ; Wed, 6 Jul 2005 23:11:23 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9974943D45 for ; Wed, 6 Jul 2005 23:11:22 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.3/8.13.3) with ESMTP id j66NBKBi050941; Thu, 7 Jul 2005 01:11:20 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 447446259; Thu, 7 Jul 2005 01:11:20 +0200 (CEST) Date: Thu, 7 Jul 2005 01:11:20 +0200 From: Roland Smith To: FreeBSD Questions Message-ID: <20050706231120.GA37911@slackbox.xs4all.nl> Mail-Followup-To: FreeBSD Questions , Louis LeBlanc References: <20050706201141.GF42229@keyslapper.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <20050706201141.GF42229@keyslapper.net> User-Agent: Mutt/1.4.2.1i 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! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Louis LeBlanc Subject: Re: devfs permissions wierdness 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: Wed, 06 Jul 2005 23:11:23 -0000 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 06, 2005 at 04:11:41PM -0400, Louis LeBlanc wrote: > I have my devfs config set up to allow certain devices to be mounted > by users in the cdusers group as follows: >=20 > own da1 root:cdusers > perm da1 0660 > own da1a root:cdusers > perm da1a 0660 > own da1c root:cdusers > perm da1c 0660 > own da1s1 root:cdusers > perm da1s1 0660 >=20 > Problem is it doesn't work unless I go in as root and manually restart > the devfs facility with `/etc/rc.d/devfs restart` Configuration for devices present at boot goes into devfs.conf. For hotpluggable devices, the rules (with slightly different format) should go in devfs.rules. The manual pages I wrote for devfs.conf and devfs.rules were committed to CURRENT a couple of weeks ago. I don't know if and when they will appear in 5-STABLE. But you can find them on my FreeBSD webpage: http://www.xs4all.nl/~rsmith/freebsd/ This page has some more info about setting this up. HTH Roland --=20 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCzGUYEnfvsMMhpyURAvw3AKClCbnVeRaSjXYUnSIrXecO4rwB3gCglvLh RT1AN77cAQ6y/L17CdBCQZw= =EgVi -----END PGP SIGNATURE----- --huq684BweRXVnRxX--