LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-18-2006, 12:18 PM   #1
Dachy
Member
 
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99

Rep: Reputation: 15
Does my fstab look correct for user permission to use my dvd rom?


here is my fstab. i can play dvds as root but not as a user... i dont see what's wrong with my fstab. im using dropline gnome btw:

Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/sda2        swap             swap        defaults         0   0
/dev/sda3        /                ext3        defaults         1   1
/dev/sda1        /nataxp          vfat        user,exec,umask=000,rw        1   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
none            /sys            sysfs           defaults       0   0
/dev/hdb        /media/cdrom      auto user,exec,ro,noauto,comment 0 0
/dev/hda        /media/cdrecorder auto user,ro,exec,noauto,comment 0 0
/dev/sdd1               /media/NATAEXT          vfat    user,exec,noauto,comment 0 0
/dev/sdb2               /media/ipod             vfat    user,exec,noauto,comment 0 0
here is what happens when i try to run xine to play a dvd as user:

dachy@natasha:~$ xine
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading



here is how i guess it's supposed to work as root:

root@natasha:/home/dachy# xine
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
libdvdread: Using libdvdcss version 1.2.9 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000133
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00001e30
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00001ea1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00001edf
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0001c042
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x003cd9f5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003cda65
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003cf09b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003cffc8
libdvdread: Elapsed time 0
libdvdread: Found 5 VTS's
libdvdread: Elapsed time 0

any ideas?

Last edited by Dachy; 02-18-2006 at 12:22 PM.
 
Old 02-18-2006, 12:26 PM   #2
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Which is your DVD drive? I'll guess it's either /dev/hda or /dev/hdb, can you post the output of ls -l /dev/hda and ls -l /dev/hdb?
 
Old 02-18-2006, 01:54 PM   #3
Dachy
Member
 
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99

Original Poster
Rep: Reputation: 15
dachy@natasha:~$ ls -l /dev/hdb
brw-rw---- 1 root disk 3, 64 2002-06-09 12:27 /dev/hdb
dachy@natasha:~$ ls -l /dev/hda
brw-rw---- 1 dachy cdrom 3, 0 2002-06-09 12:27 /dev/hda


/dev/hdb is my dvdrom so i guess it looks like the user it's set for is root, how/where cna i change that, it doesn't reflect that in my fstab as far as i can tell.
 
Old 02-18-2006, 02:05 PM   #4
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
You don't need to change your /etc/fstab as you don't actually mount a DVD in order to watch it. Add your user to the group "disk" instead.

Code:
root@box:#  usermod -G disk dachy
(substitute your real username, ofcourse)
 
  


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
mount cd/dvd -rom,change permission darkangel29 Linux - Newbie 10 04-16-2005 01:24 AM
permission denied! floppy cd-rom dvd-rom HELP! OMEGA-DOOM Linux - Software 17 10-15-2004 05:40 PM
Must be superuser to use mount... fstab is correct, however. dokterneo Slackware 8 02-11-2004 04:01 PM
How to give permission to DVD-ROM? Micro420 Mandriva 19 01-21-2004 01:41 PM
cdrom/dvd permission as user? teona Linux - Newbie 11 12-28-2003 01:44 PM

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

All times are GMT -5. The time now is 03:54 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
Open Source Consulting | Domain Registration