LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-10-2003, 04:13 PM   #1
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
/dev/sound permission problems


I know this has been covered a million times, but I haven't yet seen an answer to this...

Got two normal users on my box: eric (me) and andrea (my wife). Both are in the group called audio.

Everything works fine for eric, but many times, almost every time in fact, that andrea tries to do anything involving sound output, there are permission errors. The audio mixer balks about /dev/mixer not having permission, sound doesn't work in XMMS, wine, etc. Yeah I know, just change the perms on /dev/mixer and related stuff. Works great - all I gotta do is chmod 660 /dev/sound/*, since everything in there is in group audio, and andrea gets sound.

The thing is, everything in the /dev/sound subdirectory is owned by eric! Permissions always seem to revert back to 600 after an unspecified amount of time, meaning that only eric gets to use the sound devices. Two questions:

1. Why are these owned by eric, and not root (like practically everything else in /dev)?

2. How do I get ownership/chmod changes to stick, so I don't keep having to change them?

All help and advice appreciated!
 
Old 05-10-2003, 04:32 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
is this on devfs? if so just edit your /etc/devfsd.conf, e.g. mine says...

REGISTER sound/.* PERMISSIONS root.audio 666
REGISTER snd/.* PERMISSIONS root.audio 666
 
Old 05-10-2003, 08:00 PM   #3
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Original Poster
Rep: Reputation: 48
Yeah, it uses devfs... I did not know about devfs.conf. I've added those lines to it, so hopefully that does it. Perhaps I oughta go read up on devfs a bit. I've always been pretty hazy about how it works.

Thanks for the tip!
 
  


Reply



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
Sound error (permission denied in /dev directory) davidas Debian 9 05-06-2009 12:29 PM
user permission issues with /dev/ (sound and cdrom) ngan_yine Slackware 3 11-03-2004 05:09 PM
Sound problem (/dev/mixer permission) z536 Linux - Software 9 08-29-2003 06:47 PM
/dev/sound permission problems bulliver Linux - General 10 01-25-2003 07:08 AM
Sound problem - /dev/dsp: Permission denied Oooska Linux - Newbie 4 02-21-2002 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:45 PM.

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