LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   no cdrom permissions in suse 10.1 (https://www.linuxquestions.org/questions/suse-opensuse-60/no-cdrom-permissions-in-suse-10-1-a-460263/)

seagreen 07-02-2006 09:13 AM

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

Bugrem 07-03-2006 02:37 PM

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.

SlowMindThinkin 07-21-2006 05:46 PM

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

drsethi 07-21-2006 09:20 PM

edit as follows
/dev/hdd /media/ iso9660 noauto,users,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

SlowMindThinkin 07-23-2006 03:06 PM

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.)

seagreen 07-23-2006 04:46 PM

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....?

SlowMindThinkin 07-23-2006 04:49 PM

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.


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