How to set device permissions at startup

Roland Smith rsmith at
Fri Oct 9 15:47:25 UTC 2009

On Fri, Oct 09, 2009 at 02:18:46AM -0400, Aryeh M. Friedman wrote:
> Roland Smith wrote:
> > On Thu, Oct 08, 2009 at 11:25:12PM -0400, Aryeh M. Friedman wrote:
> >   
> >> Since certain currently unused devices are not created in /dev 
> >> (specifically in my case /dev/fuse*) how do I tell what ever (I can't 
> >> tell it is devfs or what) to always make /dev/fuse* (when needed) with 
> >> 777 perms (the security implications are not an issue here)
> >
> > See devfs.rules(5).
> Should of been more specific in the orginal question then I added a rule 
> and since the device doesn't exist at devfs mount time it does not honor 
> the rule

Do you have a ruleset named in /etc/devfs.rules? And is it enabled in
/etc/rc.conf? Have you restarted devfs after changing /etc/devfs.rules?

Can you post your /etc/devfs.rules, and the output of 'devfs rule show'?

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list