On Wed, Sep 23, 2009 at 09:44:12AM +0300, Manolis Kiagias wrote:
> 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

One important caveat; /etc/devfs.conf works only for devices that are
available at boot time. For devices that are created during runtime, like
e.g. usb devices, you have to use /etc/devfs.rules instead. The format of both
files is explained in their respective manual pages.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpH8n4GvoGd6.pgp
Description: PGP signature

Reply via email to