/dev files default permissions

Dominic Fandrey kamikaze at bsdforen.de
Tue Feb 19 16:41:54 UTC 2008


Alexander Renn wrote:
> Hello,
> 
> I'm trying to find how to change the default permissions of files created in
> /dev.
> I want /dev/bpf* to be created with 660 permissions instead of 600.
> 
> Is there another way to do this instead of:
> # touch /dev/bpf[n]
> and then
> # chmod /dev/bpf[n]
> ?

You want to read the devfs.rules(5) manual page.


More information about the freebsd-questions mailing list