Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2009 09:44:12 +0300
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        herbs <herbert.raimund@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /dev files keep no permissions
Message-ID:  <4AB9C3BC.9000904@otenet.gr>
In-Reply-To: <20090923063805.GA21788@greencat.langhans.com.pl>
References:  <20090923063805.GA21788@greencat.langhans.com.pl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4AB9C3BC.9000904>