LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-29-2008, 05:35 PM   #1
Minozake
LQ Newbie
 
Registered: Jan 2008
Location: Frozen Hell, MN, USA
Distribution: Source Mage GNU/Linux
Posts: 18

Rep: Reputation: 0
Making "/dev/snd/*" read/write for other consistently


Problem:

My sound does not work, UNLESS I input the command

Code:
[sudo] chmod u+rw /dev/snd/*
Which changes all of the sound devices to read/write. However, whenever I boot up, it automatically resets to make it only root and audio to be able to read/write. I don't think I am actually supposed to have to enable read/write for all users.

Maybe it is the certain setup I have for sound (as I noticed the audio group was a group and it had read-write privileges to it). I actually have no way besides Flash to play sounds after I make the change (mplayer can't even find my devices since it isn't even looking to the correct path, but that's another problem).

I am running Gentoo Linux i686-2.6.19-r5. Perhaps the compatibility issue is where it stores things like input, snd, et al (/dev/input, /dev/snd). Perhaps I should post on Gentoo forums.

But, does anyone know how I can fix this problem?
 
Old 01-29-2008, 05:39 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
You just need to include your user into the audio group. Use the usermod command to do that.
 
Old 01-29-2008, 06:53 PM   #3
Minozake
LQ Newbie
 
Registered: Jan 2008
Location: Frozen Hell, MN, USA
Distribution: Source Mage GNU/Linux
Posts: 18

Original Poster
Rep: Reputation: 0
I did that. id username says I am in the audio group. But it doesn't seem to grant permission.

Do the apps the user executes inherit that user's groups?
 
Old 01-29-2008, 07:31 PM   #4
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Quote:
Originally Posted by Minozake View Post
I did that. id username says I am in the audio group. But it doesn't seem to grant permission.

Do the apps the user executes inherit that user's groups?
You have to relogin for the changes to take effect. Have you done that?
 
Old 01-29-2008, 08:12 PM   #5
Minozake
LQ Newbie
 
Registered: Jan 2008
Location: Frozen Hell, MN, USA
Distribution: Source Mage GNU/Linux
Posts: 18

Original Poster
Rep: Reputation: 0
Just done. Now it works.

Many thanks ^_~
 
  


Reply

Tags
device, gentoo, sound


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't add "read-write" to lilo.conf natewlew Slackware 5 07-10-2006 11:33 AM
"block device /dev/sda2 is write-protected, mounting read-only" - fstab problem blanks77 Linux - Hardware 1 04-28-2006 06:09 PM
RH9 "remounting root filesystem in read-write mode" ChrisHax Linux - Newbie 3 07-23-2004 09:54 PM
SDL Error: /dev/snd/pcmC0D0p - "busy" = segfault tireseas Linux - Software 0 07-18-2004 11:35 AM
USB drive keeps mounting as "read only" I need to write to it. Lossenelin Linux - Hardware 1 02-12-2004 06:49 PM


All times are GMT -5. The time now is 01:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration