LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2005, 12:35 AM   #1
pherceg
LQ Newbie
 
Registered: Sep 2005
Location: vancouver, bc
Distribution: mandriva le2005
Posts: 6

Rep: Reputation: 0
DVD/CD Drive Problems


I have some puzzling probs with my DVD writer/drive. When I insert a DVD or CD, nothing seems to happen. I was under the impression that the CD/DVD should mount on the desktop. Is this true?
When I insert a music CD, here is the message I get "CD ROM read or access error, please make sure you have access permissions to /dev/hdc/" can anyone tell me what this means and how to fix it?
I know my DVD drive is working just fine as I was able to install Mandriva Linux no prob.
Any assistance would be appreciated.
Thanks.
Paul
 
Old 09-09-2005, 01:32 AM   #2
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
1.) There are programs that check in short intervals whether there is a CD in the drive, and mount it if found. Search on Google with something like linux automount
2.) Seems you don't have root access to /dev/hdc. What's the output of 'ls -l /dev/hdc' ?
 
Old 09-09-2005, 01:47 AM   #3
pherceg
LQ Newbie
 
Registered: Sep 2005
Location: vancouver, bc
Distribution: mandriva le2005
Posts: 6

Original Poster
Rep: Reputation: 0
Here is the output I received by entering that: brwxrwxrwx 1 pherceg cdwriter 22, 0 Sep 8 21:45 /dev/hdc

Thank you....
 
Old 09-09-2005, 04:17 AM   #4
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
Sorry, in my above post I meant to say: "Seems you have only root access ...", but I was wrong nonetheless.
Do you try to mount that audio CD? This is not possible, since it doesn't contain an ISO file system.
 
Old 09-09-2005, 05:53 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Quote:
Originally posted by pherceg
Here is the output I received by entering that: brwxrwxrwx 1 pherceg cdwriter 22, 0 Sep 8 21:45 /dev/hdc

Thank you....
Make sure you're in the cdwriter group. In a terminal as root issue
"vigr" and add pherceg if he's not in that group.
 
Old 09-09-2005, 06:15 AM   #6
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
Two things you need to check.

1) /etc/group - make sure you are part of the cdrom and/or optical group

2) /etc/fstab - your entry for your cdrom (/dev/hdc) has in it's options user

eg

Code:
/dev/hdc     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
log out for changes to take affect

Cheers
 
Old 09-09-2005, 07:34 AM   #7
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
Why should he belong to the group? According to the ls output, everyone has read, write and execute permissions for the device file, no matter whether he is in the group or not.
 
Old 09-09-2005, 09:54 AM   #8
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
Good question!!

I believe it has to do with security and safe practice and user control more than anything. If you have restrictive permissions but allow users to access the device via group and fstab, you can control who can access it, and who can not. This is more for a multi-user platform than single desktop user, but this promotes good practice for when you want that control.
 
Old 09-09-2005, 11:44 AM   #9
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
What you say is right, but what I meant in my post is that the cause of the problem can't be too restrictive permissions (since there are no restrictions), so it has to be something else.

Last edited by addy86; 09-09-2005 at 11:47 AM.
 
Old 09-09-2005, 12:17 PM   #10
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
Ahhhh - ok.

It depends on what he is using to play the cd with. If he is trying with Xine, and he is not in the cdrom group, an access error will come up. Similar to k3b setup where you need to specify a group (eg burning or users etc). I would hazard a guess that the program he is using has settings regarding the group - not device permissions.
 
  


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
DVD Drive Problems DvChWi Linux - Hardware 18 08-23-2004 06:49 PM
having problems mounting a DVD-RW drive Earl Parker II Slackware 5 08-10-2004 01:27 AM
CD/RW and DVD Drive- Driver problems ssbullpit Linux - Hardware 1 05-11-2004 05:07 AM
CD/DVD rom drive problems Inexactitude Mandriva 5 02-24-2004 07:45 PM
Please Help - Problems booting after cd(dvd) drive installed finidi Linux - General 4 01-07-2003 07:53 PM


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