/dev files keep no permissions

Manolis Kiagias sonicy at otenet.gr
Wed Sep 23 06:44:15 UTC 2009


herbs wrote:
> Hi Daemons,
> I wonder whats wrong there:
>
> I need to change the permissions from 
> /dev/speaker 600 to /dev/speaker 666
> --all works ok.
>
> Then I reboot the computer and the permissions of the file is back to 600.
>
> How to make it permanent? Is is normal that /dev files do what they
> want?
>
>   

Yes :)
The /dev filesystem is dynamic, it is recreated at every boot. For your
setting to persist, enter it in /etc/devfs.conf

The examples in there will help you out, although probably this is the
line you need:

perm speaker 0666


More information about the freebsd-questions mailing list