Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jul 2005 01:11:20 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Cc:        Louis LeBlanc <FreeBSD@keyslapper.net>
Subject:   Re: devfs permissions wierdness
Message-ID:  <20050706231120.GA37911@slackbox.xs4all.nl>
In-Reply-To: <20050706201141.GF42229@keyslapper.net>
References:  <20050706201141.GF42229@keyslapper.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050706231120.GA37911>