LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-15-2004, 05:34 PM   #1
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
Only root can use my cd-rom drive.


When I try to mount my cdrom as "user" it tells me that only root can mount /dev/cdrom. I am running Slackware 9.1, and loving it.
Thanks, njbrain@softhome.net
 
Old 01-15-2004, 05:46 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
You need to alter the fstab to allow users.

something like this:

/dev/cdrom /mnt/cdrom auto ro,user,noauto,exec 0 0
 
Old 01-15-2004, 06:17 PM   #3
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Original Poster
Rep: Reputation: 30
Cool! it works! But, it still won't play music cd's
 
Old 01-15-2004, 06:22 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Why? You don't mount CD's you can just play them through a CD player. You may have bad permissions in /dev thats preventing the use of CD's.

type
ls -l /dev/cdrom

and check that the user is a member of the same group ( you might have to follow the links to find the actual group of the device. )
 
Old 01-15-2004, 06:30 PM   #5
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Original Poster
Rep: Reputation: 30
This was the outcome of that command,
lrwxrwxrwx 1 root root 8 Jan 15 09:47 /dev/cdrom -> /dev/hdc
I know that you don't mount music cd to play them, I found that out the hard way! But when I start kde, kscd pops up in my face and says that I dont have permission to access the cdrom drive, but data cd's work just fine.
 
Old 01-15-2004, 06:37 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
check the permissions on:
ls -l /dev/hdc

it will probably come up with something like
brw-rw---- 1 root cdrecording 22, 64 Mar 14 2002 /dev/hdc

so you need to add your user to cdrecording or whatever the group actually is, the command:

adduser youruser thegroup

Will do this for you.
 
Old 01-15-2004, 07:50 PM   #7
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Original Poster
Rep: Reputation: 30
Alright, I did what you said, and I don't get an error message anymore, but kscd won't run!
 
Old 01-15-2004, 08:05 PM   #8
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Check the control center under sound & multmedia, Audio CD's add check everthings correct. Especially the autodetect device, It might be worth setting this yourself.
 
  


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
Root and CD-ROM? Twaize Linux - Newbie 7 10-30-2005 07:37 AM
cannot mount CD ROM on non-root user rsumbeling Linux - Security 4 12-04-2004 01:09 AM
can't mount CD ROM on non-root user rsumbeling Linux - Software 3 12-03-2004 01:13 PM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 10:58 AM
Cd Rom DRIVE Longinus Linux - Newbie 2 09-13-2003 05:05 AM

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

All times are GMT -5. The time now is 10:50 AM.

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