View previous topic :: View next topic |
Author |
Message |
fmalabre Guru
Joined: 19 Jun 2002 Posts: 376 Location: Chicago
|
Posted: Sun Jun 23, 2002 12:27 am Post subject: User rights in /dev/sound |
|
|
Hi,
This morning I changed the user rights for all to +rw on everything in /dev/sound/*
Thus, this made my sound work fine with any user.
I had to reboot, and now my user rights went back as before.
I think I'm using devfs on my system, but I read this has been fixed in gentoo.
Something important maybe, I recompiled my kernel with the vanilla kernel with static (not as a module) devfs.
What can I do to make this change permanent?
Any suggestion?
Thanks,
Fred |
|
Back to top |
|
|
fancypiper n00b
Joined: 08 Jun 2002 Posts: 13 Location: Sparta NC USA
|
Posted: Sun Jun 23, 2002 2:09 am Post subject: |
|
|
usermod -G audio username _________________ Linux: Viagra for your PC |
|
Back to top |
|
|
jadenjahner n00b
Joined: 04 May 2002 Posts: 28
|
Posted: Sun Jun 23, 2002 5:55 am Post subject: |
|
|
I am running the 2.4.19-gentoo-r7 kernel, and the permission changes are permanent for me. You can setup the audio group in your case. _________________ I can't think of anything catchy to put here, so I'll just leave it blank. |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Sun Jun 23, 2002 7:29 am Post subject: |
|
|
You should change the perms with devfs (assuming you're using it), as devfs is responsible for the creation of dev files.
Edit /etc/devfsd.conf. Search in that file for audio and you'll find something like:
Code: | # the audio devices
LOOKUP snd MODLOAD ACTION snd
LOOKUP dsp MODLOAD
LOOKUP mixer MODLOAD
LOOKUP midi MODLOAD
REGISTER sound/.* PERMISSIONS root.audio 660
REGISTER snd/.* PERMISSIONS root.audio 660 |
Change perms under REGISTER.
You can also refer to devfsd man page. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
fmalabre Guru
Joined: 19 Jun 2002 Posts: 376 Location: Chicago
|
Posted: Sun Jun 23, 2002 5:31 pm Post subject: |
|
|
Ok, I start to understand more about devfs.
I finally change the user group to the audio group, as first suggested.
Thanks for your help,
Fred. |
|
Back to top |
|
|
|