Date: Wed, 6 Jul 2005 16:11:41 -0400 From: Louis LeBlanc <FreeBSD@keyslapper.net> To: FreeBSD Questions <freebsd-questions@FreeBSD.org> Subject: devfs permissions wierdness Message-ID: <20050706201141.GF42229@keyslapper.net>
next in thread | raw e-mail | index | archive | help
--LKTjZJSUETSlgu2t Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have my devfs config set up to allow certain devices to be mounted by users in the cdusers group as follows: 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 Problem is it doesn't work unless I go in as root and manually restart the devfs facility with `/etc/rc.d/devfs restart` Here's what I see: <root># ls -l /dev/da1* =20 crw-r----- 1 root operator 4, 27 Jun 26 23:02 /dev/da1 crw-r----- 1 root operator 4, 29 Jun 26 23:02 /dev/da1a crw-r----- 1 root operator 4, 30 Jun 26 23:02 /dev/da1c crw-r----- 1 root operator 4, 31 Jun 26 23:02 /dev/da1cs1 crw-r----- 1 root operator 4, 28 Jun 26 23:02 /dev/da1s1 <root># /etc/rc.d/devfs restart <root># ls -l /dev/da1* crw-rw---- 1 root cdusers 4, 27 Jun 26 23:02 /dev/da1 crw-rw---- 1 root cdusers 4, 29 Jun 26 23:02 /dev/da1a crw-rw---- 1 root cdusers 4, 30 Jun 26 23:02 /dev/da1c crw-r----- 1 root operator 4, 31 Jun 26 23:02 /dev/da1cs1 crw-rw---- 1 root cdusers 4, 28 Jun 26 23:02 /dev/da1s1 <root>#=20 Seems like this resets itself every now and again to the root:operator/640 permissions too, and not just on reboot. Anyone know what I'm missing? TIA Lou --=20 Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint =3D C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 A horse! A horse! My kingdom for a horse! -- Wm. Shakespeare, "Henry VI" --LKTjZJSUETSlgu2t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCzDr9r4Wi/oDI2aIRAkwGAJ9ktEJQWMFK5WJrP9npnY8pAaQfggCfRcPl xhS0PgAfd2kbxMiGeUbsX6E= =2HRK -----END PGP SIGNATURE----- --LKTjZJSUETSlgu2t--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050706201141.GF42229>