LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-15-2004, 02:51 PM   #1
jimt
LQ Newbie
 
Registered: Jun 2004
Location: St Catherine's Ontario
Distribution: Slackware 9.1
Posts: 1

Rep: Reputation: 0
sound permissions for users, Slack 9.1


I run Slack 9.1, and all was well until I tried an unsuccessful upgrade of KDE from 3.1 to 3.2.3.
Now if I log in as root I can use /usr/bin/aplay to play a file, but as a user I get :
user@shetland:~$ aplay /home/user/test.wav
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Permission denied
aplay: main:484: audio open error: Permission denied
user@shetland:~$
Have read about needing a group called "audio", I do not have one listed in /etc/group,
do I need one? (I assume that I never needed one before I broke it)
Trying to understand which files/directories I need to give "user" R/W/X permission for?
I have also run alsaconf after the "upgrade" to no apparent effect
all help appreciated.
 
Old 06-15-2004, 03:04 PM   #2
yelo
Member
 
Registered: Oct 2003
Distribution: Debian Unstable
Posts: 41

Rep: Reputation: 15
OK, what I believe you are going to need to do is update permissions on the following files:

/dev/dsp*

/dev/snd*

/dev/mixer*

so, a command like the following might work well:

chmod a+wx /dev/dsp* /dev/snd* /dev/mixer*

Hope your sound problems are cleared up!
 
Old 06-15-2004, 03:14 PM   #3
sio
Member
 
Registered: Jul 2003
Location: Louisiana, US
Distribution: Slackware
Posts: 129

Rep: Reputation: 15
dont forget /dev/audio for some people
 
  


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
users permissions mount ptawe Debian 1 08-22-2005 02:19 PM
users/groups and permissions.... muman Linux - Newbie 2 09-21-2004 11:20 AM
m9.2 all users have root permissions !? stormNC Mandriva 3 05-03-2004 08:57 PM
my users permissions bacon22 Linux - General 2 01-20-2004 10:37 AM
Sound in Slack for users Tinkster Slackware 7 05-17-2002 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration