LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-28-2003, 03:46 AM   #1
SlackN00b
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Rep: Reputation: 15
/dev/dsp cannot be opened permission denied


Hello anyone I'm quite new to Linux so pls don't flame me
I've decided to start w/ the Slack distro in order to learn how linux works but sum probs obviously raise.
My prob is I got a c-media audio sound card and after reading the doc I manged to install it but It works only if I log as root. So I tried to issue these commands:

giorgio@AceSlack:~$ ls -l /dev/dsp
lrwxrwxrwx 1 root root 4 Dec 26 04:02 /dev/dsp -> dsp0
chmod 755 /dev/dsp
chmod 6755 /dev/dsp
chmod 755 /dev/dsp0
chmod 6755 /dev/dsp

But none affected the permission, and I had previous probs too with permission when I try to mount cdrom for users too.
I prolly dunno which file I should set the permission to
I'm really confused can some1 help me pls?
 
Old 12-28-2003, 03:55 AM   #2
SlackN00b
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
Actually I made it !!!
I found a thread about it in tux racers so I typed chmod 0666 /dev/dsp
But got no clue what it does
 
Old 12-28-2003, 04:36 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
and you can add a users and or umask=000 entry in your fstab for the
drive you want users to mount. there's lots of threads about that here
too.
 
Old 12-28-2003, 05:34 AM   #4
SlackN00b
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
Thx for the reply but is it unsecure using chmod 0666 with /dev/dsp?
 
Old 12-28-2003, 10:17 AM   #5
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware 13.37
Posts: 785

Rep: Reputation: 31
Here is a link that will help with Slackware.
http://docs.rinet.ru/Slackware-Linux/
 
Old 12-31-2003, 11:59 AM   #6
SlackN00b
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
Thx for the link
 
  


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
device /dev/dsp can't be opened (Permission denied) jon_k Linux - Software 1 10-27-2004 08:51 PM
Mandrake 10 /dev/dsp Permission Denied fox2319 Linux - Newbie 5 04-28-2004 07:06 AM
/dev/dsp: Permission denied jtX Slackware 1 02-06-2004 05:39 PM
dev/dsp can't be opened cijunet Linux - Newbie 1 12-03-2002 03:52 PM
Sound problem - /dev/dsp: Permission denied Oooska Linux - Newbie 4 02-21-2002 01:31 PM


All times are GMT -5. The time now is 12:14 AM.

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