LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-02-2006, 09:13 AM   #1
seagreen
Member
 
Registered: Jun 2004
Distribution: Suse 8.2
Posts: 42

Rep: Reputation: 15
no cdrom permissions in suse 10.1


I get the message "permissions denied" when I try to use cdrom and dvdrom in suse 10.1 as both root and user.

Here is my fstab:

/dev/hda5 / reiserfs acl,user_xattr 1 1
/dev/hda6 /home reiserfs defaults 1 2
/dev/hda2 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/hdb1 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/hda1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/hdb5 /data1 auto noauto,user 0 0
/dev/hdc /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hdd /media/cdrecorder2 subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

When I do a ls -l /media I get

drwxr-xr-x 2 root root 48 2006-06-25 18:31 cdrecorder
drwxr-xrw- 2 root root 48 2006-06-25 18:31 cdrecorder2
drwxr-xr-x 2 root root 48 2006-06-21 17:26 floppy
drwxr-xr-x 2 root root 80 2006-07-02 16:00 hdc
drwxr-xr-- 6 seagreen root 2048 1970-01-01 01:00 usbdisk

Can anyone tell me how to fix permissions so I can use the drives?

TIA
 
Old 07-03-2006, 02:37 PM   #2
Bugrem
Member
 
Registered: Nov 2004
Distribution: Suse 9.3, 10.0, 10.1, 10.3
Posts: 65

Rep: Reputation: 16
My fstab entries ended up like this:

/dev/dvd /media/dvd subfs noauto,fs=cdfss,ro,users,gid=users,umask=0,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrom /media/cdrom subfs noauto,fs=cdfss,ro,users,gid=users,umask=0,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

Working sweetly now

HTH
B.
 
Old 07-21-2006, 05:46 PM   #3
SlowMindThinkin
Member
 
Registered: Sep 2004
Posts: 144

Rep: Reputation: 15
I am having the exact same problem with Suse 10.1 on my Latitude D510. I tried following Bugrem's template, but no joy. The dvd in question is an avi sent to me in the mail, and I can't even ls the contents, nor can I ls a CR-R I burned that just has some documents and similar files. XP has no trouble, so it is not the drive.

Here is my current fstab:
/dev/sda6 / reiserfs acl,user_xattr 1 1
/dev/sda2 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/cdrecorder /media/cdrecorder subfs noauto,fs=cdfss,ro,gid=users,umask=0,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrom /media/cdrom subfs noauto,fs=cdfss,ro,gid=users,umask=0,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs noauto,fs=cdfss,ro,gid=users,umask=0,procuid,nosuid,nodev,exec,iocharset=utf8 0 0


Here was my original:
ev/sda6 / reiserfs acl,user_xattr 1 1
/dev/sda2 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/sr0 /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
 
Old 07-21-2006, 09:20 PM   #4
drsethi
Member
 
Registered: Jun 2006
Location: Amritsar
Distribution: SuSE 11.1
Posts: 55

Rep: Reputation: 15
edit as follows
/dev/hdd /media/ iso9660 noauto,users,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
 
Old 07-23-2006, 03:06 PM   #5
SlowMindThinkin
Member
 
Registered: Sep 2004
Posts: 144

Rep: Reputation: 15
Oddly, with just this (of the dvd/cd drive entries) in my fstab, I can watch a movie:
/dev/cdrecorder /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

But, I can't open a data cd, nor look at the 10.1 install disk. (I can boot and run the latter, though.)
 
Old 07-23-2006, 04:46 PM   #6
seagreen
Member
 
Registered: Jun 2004
Distribution: Suse 8.2
Posts: 42

Original Poster
Rep: Reputation: 15
I removed all reference to my dvd/cdrom drives from fstab and they are now working. I can open data cds, hear audio cd's and burn with K3b.
I'd still like to know why the drives work this way....?
 
Old 07-23-2006, 04:49 PM   #7
SlowMindThinkin
Member
 
Registered: Sep 2004
Posts: 144

Rep: Reputation: 15
I received a post on another forum that said Suse 10.1 does not need a dvd/cd entry in the fstab. So I also removed mine, and everything seems to work.
 
  


Reply

Tags
cdrom, fstab, linux, permission, permissions, suse



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
cdrom permissions foodhater Debian 7 11-16-2005 01:14 PM
CDROM permissions-MEPIS kapalka Linux - Hardware 4 04-11-2005 06:29 PM
cdrom permissions nikki Mandriva 2 02-18-2005 06:44 PM
cdrom permissions zoings Linux - Software 11 11-05-2004 01:42 AM
cdrom permissions Blackhawkckc Linux - Newbie 7 10-26-2004 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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