LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-01-2009, 03:46 AM   #1
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Random Permission Problems


Ok, so heres the deal.

I had a power outage the other day, and ever since then things have been not quite right in my linux world. Mostly with permissions. The most noticeable issue is the audio. There is none. My first thought was that a module failed to load, so I checked, and everything appears as it should. So I ran a trace on alsamixer, because it was saying no devices found, figured out that I had a permission problem on
Code:
/dev/snd/controlC0
I also ran Mplayer on a video, and it comes back with:
Code:
audio_setup: Can't open audio device /dev/dsp: Permission denied
I checked permissions on these files, and they state:
Code:
crw-rw---- 1 root audio 14, 3 2009-03-01 00:49 dsp
crw-rw---- 1 root audio 116, 0 2009-02-28 16:49 snd/controlC0
Which looks correct to me. So I looked to ensure that I am in the audio group. Here is where it gets wierd. My user was not in any of the groups it had been in before (disk, audio, cdrom, etc, etc). So I added it back into the groups, and checked /etc/group to confirm that the changes had been made, and they HADN'T.

Does anyone know how often the group file is updated? Is it updated immediately after modification of group info?

I tried backing up my group file and modifying it manually, and that hasnt fixed the problem.

Also, another wierd thing to note is that in my gkrellm, all of my sensors disappeared, which was setup using a modified amd sensor to work right with my quad-core, but thats a different story. But all of this happened all at once, which I believe that it is all related.

Any ideas on where I should go now?

Thanks
 
Old 03-01-2009, 04:11 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
what is the result of running
Code:
cat /etc/group | grep audio
on a console?
cheers,
jdk
 
Old 03-01-2009, 04:13 AM   #3
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
Code:
audio:x:17:root,myuser
But that is only because i manually edited it. Before it was just root. I changed my group using kusers, and even tried setting my primary group as audio, and it still didnt change in the group file.

Thanks,
 
Old 03-01-2009, 04:42 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by DragonM15 View Post
Code:
audio:x:17:root,myuser
But that is only because i manually edited it. Before it was just root. I changed my group using kusers, and even tried setting my primary group as audio, and it still didnt change in the group file.

Thanks,
But now myuser is in the audio group and that is correctly in the group file, yes? Do you still have permission problems?
jdk
 
Old 03-01-2009, 02:08 PM   #5
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
After a restart that seemed to fix the problem. So all in all, what I had to do was modify the group file by hand, and restart. That has to be the first time that restarting fixed something in linux!

Thanks

Last edited by DragonM15; 03-01-2009 at 02:15 PM.
 
  


Reply


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
samba share denies permission to random files while copying joh42231 Linux - Server 1 03-02-2009 07:29 AM
Random keyboard problems!! Meds4 Linux - Newbie 1 01-06-2009 01:04 PM
Random freezes and other problems. xoi Linux - General 5 02-13-2006 09:27 AM
random problems with Mozilla and more infamous41md Linux - Newbie 2 04-11-2003 12:11 PM
Random problems with startx jstef Slackware 4 02-02-2003 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:32 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