Re: /dev files keep no permissions
- From: Roland Smith <rsmith@xxxxxxxxx>
- Date: Wed, 23 Sep 2009 19:54:22 +0200
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:
pgpKhtNp47xh4.pgp
Description: PGP signature
- References:
- /dev files keep no permissions
- From: herbs
- Re: /dev files keep no permissions
- From: Manolis Kiagias
- /dev files keep no permissions
- Prev by Date: some issues with 9-CURRENT
- Next by Date: Re: zyd & TEW-424UB
- Previous by thread: Re: /dev files keep no permissions
- Next by thread: buildkernel error with device snd_hda
- Index(es):
Relevant Pages
|