LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-27-2003, 03:46 PM   #1
teona
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 64

Rep: Reputation: 15
cdrom/dvd permission as user?


seems I have access to my dvdrom only as root and not as user, how do I give myself access to it? and oh.. it's a dvdrom but slack identifyes it as cdrom? /dev/cdrom <-- why?
I have a laptop, don't know the dvd manufactor, or so...
help me?
 
Old 12-27-2003, 05:07 PM   #2
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
1) The permissions: To change the permissions on a device you need to edit /etc/fstab.
If you want all users to be able to mount/umount the drive, the line would be something like this:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,user,ro 0 0

2) The name: /dev/cdrom is just a symlink. It should be linked to something like /dev/hdd. You can change it to /dev/dvdrom if you want, but it doesn't really matter
 
Old 12-27-2003, 05:49 PM   #3
teona
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 64

Original Poster
Rep: Reputation: 15
well the line looked exactly like that already? when I start ex. kscd it says;

CD-ROM read or access error
Please make sure you have access permissions to:

/dev/cdrom

as if i logg in as root and start kscd it just playes the cd..., could it be something else?
 
Old 12-27-2003, 05:58 PM   #4
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
Hm, I'm kind of stumped then. It could be that you have to be part of the same group as cdrom. Just to test, you might try changing its group/adding yourself to the group.

Other than that, I have no ideas.

~Andrew
 
Old 12-27-2003, 06:21 PM   #5
teona
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 64

Original Poster
Rep: Reputation: 15
hm... there is no cdrom group? Another thing with this whole deal is, that as root (being able to play cd in kscd) if I "cd /mnt/cdrom/" and do "ls" it's empty? but there's a cd in playing at the same time in kscd? and if i open xmms and want to add the content of the CD xmms doesn't see any files in /mnt/cdrom....? I don't get it..
 
Old 12-27-2003, 06:34 PM   #6
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
Yes, you don't actually mount audio cds to play them. Its the same for dvds and other things of the like.

Have you run kscd from the console and seen what error messages it gives you? I'm sure you just have to be a member of some arcane group..

~Andrew
 
Old 12-27-2003, 06:58 PM   #7
teona
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 64

Original Poster
Rep: Reputation: 15
I ran it from the console and the message was this:

kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction:lugAccel(): call to deprecated action.


I have no idea of what this means though...?
 
Old 12-27-2003, 07:45 PM   #8
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
Eh, the probably isn't what we're looking for. That error would just mean that kscd is interacting with kdecore in a bad way but (almost certainly) has nothing to do with your problem.

Is that all that comes up on the console when you try to open up a cd as a non-priviledged user.
 
Old 12-27-2003, 08:13 PM   #9
teona
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 64

Original Poster
Rep: Reputation: 15
yepp, that's it and a window with the following mess..

"
CD-ROM read or access error
Please make sure you have access permissions to:

/dev/cdrom
"

any suggestions?
 
Old 12-28-2003, 12:52 PM   #10
teona
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 64

Original Poster
Rep: Reputation: 15
I still have this major problem, isn't there anyone how's got any other ideas on how to get user account to access the cdrom? ... need YOUR help over here...
 
Old 12-28-2003, 02:25 PM   #11
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
Try adding yourself to the group 'disk'. If this is a dvdrom, it should be something like /dev/cdrom is symlinked to /dev/hdd. /dev/hdx is always a member of group disk.

The permissions on /dev/hdx should be rw-rw----. You could change them, or just add yourself to group 'disk' in /etc/group.

~Andrew
 
Old 12-28-2003, 02:44 PM   #12
teona
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 64

Original Poster
Rep: Reputation: 15
Finally! :P thanks for your time and help andrew,
 
  


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
Permission Denied to burn/erase DVD RW with DVD+RW tools themystic Linux - Hardware 2 08-30-2005 12:32 PM
permission for /mnt/cdrom bruse Mandriva 4 03-25-2005 12:17 PM
user permission issues with /dev/ (sound and cdrom) ngan_yine Slackware 3 11-03-2004 06:09 PM
Give user permission to mount/use cdrom drives or usb drives zwyrbla Linux - Newbie 2 08-23-2004 05:30 PM
Slackware 10 cdrom/dvd user access problems beyondzero Slackware 7 06-27-2004 06:21 AM


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