Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 11-30-2005, 08:15 AM   #1
Registered: Mar 2005
Distribution: FC5 on disk, Knoppix as LiveCD
Posts: 48

Rep: Reputation: 15
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:
chmod 660 /dev/dsp && chgrp audio /dev/dsp
But this works until one user does not log off and log in again. I found out that the X logon procedure changes the /dev/dsp permisions to back default 600.

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?
Old 12-01-2005, 06:34 AM   #2
LQ Newbie
Registered: Dec 2003
Location: North East UK
Distribution: Red Hat / Fedora
Posts: 11

Rep: Reputation: 0
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 :

KERNEL="dsp0",          SYMLINK="dsp"
You should be able to change the default group ownership like this:

KERNEL="dsp0",          SYMLINK="dsp" ,   GROUP="audio"
Make sure you back up the rules file first (probably to a sepparate directory so udev doesn't try to read both).

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
No /dev/dsp /dev/mixer etc david.skinner Linux - Software 2 05-19-2005 02:28 AM
XMMS problem : ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): sureshrk19 Slackware 4 04-01-2004 09:17 PM
/dev/dsp + device busy/no audio + esd mghere Linux - Newbie 7 12-11-2003 11:51 PM
Audio: /dev/dsp can't be opened marcheikens Linux - Newbie 2 08-27-2003 09:36 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration