chgrp /dev/dsp to audio group, when?
Multiple users cannot play sound when logged on different X displays.
I found a solution to this using a group named audio ang executing the following: Code:
chmod 660 /dev/dsp && chgrp audio /dev/dsp How could I make the setting of 660'ed /dev/dsp persistent? Could it be done without running a script every time some logs on? |
If you're using FC3 or FC4 you've got udev so you'll need to edit the rules to set the group when the device file is created.
Look in /etc/udev/rules.d/50-udev.rules and you will see the line which controls /dev/dsp : Code:
KERNEL="dsp0", SYMLINK="dsp" Code:
KERNEL="dsp0", SYMLINK="dsp" , GROUP="audio" I'm sure that instead of altering 50.udev.rules you should create a local rules file but the above should work. If yum or up2date updates udev then I think you may loose the changes. See man udev for more info. Hope that helps Paul |
All times are GMT -5. The time now is 03:16 PM. |