permissions in devfs.conf don't stick

Anish Mistry amistry at am-productions.biz
Sun Jul 2 00:41:03 UTC 2006


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="/etc/defaults/devfs.rules /etc/devfs.rules"
> devfs_system_ruleset="local_rules"
>
> $ cat /etc/devfs.rules
> [local_rules=10]
> 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 
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

-- 
Anish Mistry
amistry at am-productions.biz
AM Productions http://am-productions.biz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060702/03d4c221/attachment.pgp


More information about the freebsd-questions mailing list