Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2006 15:44:42 -0400
From:      Anish Mistry <amistry@am-productions.biz>
To:        freebsd-questions@freebsd.org
Cc:        Charles Howse <chowse@charter.net>
Subject:   Re: permissions in devfs.conf don't stick
Message-ID:  <200607011544.50178.amistry@am-productions.biz>
In-Reply-To: <B490A0A5-29E4-41C5-96F0-34B0729096D5@charter.net>
References:  <726E36F8-D30D-486B-BBC2-960DFA47B1FA@charter.net> <200607011316.58940.amistry@am-productions.biz> <B490A0A5-29E4-41C5-96F0-34B0729096D5@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1271692.bBlhjuUijk
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Saturday 01 July 2006 14:34, Charles Howse wrote:
> On Jul 1, 2006, at 12:16 PM, Anish Mistry wrote:
> > On Saturday 01 July 2006 11:54, Charles Howse wrote:
> >> I've added the following to /etc/devfs.conf:
> >> own     lpt0    root:wheel
> >> perm    lpt0    0660
> >>
> >> Save that, then, # chmod 0660 /dev/lpt0
> >>
> >> When I reboot, the permissions revert to the default of 0600.
> >> Anyone know why that is?
> >
> > man devfs.rules
> > http://am-productions.biz/docs/devfs.rules.php
>
> Sorry, this just isn't working for me.
>
> /etc/rc.conf contains:
> devfs_rulesets=3D"/etc/defaults/devfs.rules /etc/devfs.rules"
> devfs_system_ruleset=3D"local_rules"
>
> $ cat /etc/devfs.rules
> [local_rules=3D10]
> add path lpt0 mode 660 group wheel
>
> devfs does not complain when I restart it.
When you restart devfs "/etc/rc.d/devfs restart" are the correct=20
permission that you've set in devfs.rules applied?

> I've tried:
> 'lpt*'
> 'lpt0*'
>
> No matter what, the permissions revert to 600 when I reboot.
> How about a little nudge in the right direction?  :)
>
>
> --
> Webmaster's Computer Page -
> http://bubbabbq.homeunix.net/webmaster.html
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

=2D-=20
Anish Mistry
amistry@am-productions.biz
AM Productions http://am-productions.biz/

--nextPart1271692.bBlhjuUijk
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBEptCyxqA5ziudZT0RAtSBAJ9KAlEUQHYaZQ1QK1hSFe4C4ZOjuwCgu05V
ubEEBZa8wecZkTQhU3He7jo=
=l7nL
-----END PGP SIGNATURE-----

--nextPart1271692.bBlhjuUijk--



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