LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cant read cdrom and cdrw (https://www.linuxquestions.org/questions/slackware-14/cant-read-cdrom-and-cdrw-219829/)

cholombeh 08-19-2004 03:28 PM

cant read cdrom and cdrw
 
hi ;)
I created one user in slackware10 but I can't accses cdrom or cdrw in user mode,when I click on cdrom or cdrw icon (in user mode) this error is displaying:
mount:only root can mount /dev/cdrom on /mnt/cdrom
please check that the disk is entered correctly
I have full accses in root.
my fstab file:

/dev/hda1 swap swap defaults 0 0
/dev/hda5 / ext2 defaults 1 1
/dev/hda6 /usr/local ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/sr0 /mnt/cdrw noatuo,user,ro 0 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

plz help me :(

b0uncer 08-19-2004 03:34 PM

you'll have to alter this line in your fstab:

Code:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
so it will eventually look like this:

Code:

/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
the same goes for every device you cannot access as a normal user...this is because "owner" is root in this case, and the upper would mean only root can mount/umount it. when you change that to "user", every user can mount it using

Code:

mount /mnt/cdrom
or simply by clicking the icon as you said...

cholombeh 08-19-2004 04:33 PM

tanks b0uncer :)
in this time with ur help i can see and use cdrom in user mode.
but cdrw that appear same error :(

Shade 08-19-2004 11:24 PM

Check the permissions on /dev/sr0 as well. You can change it to be read/write/mount by all with
chmod 777 /dev/sr0

Also, (not sure if this matters..) check the permissions of /mnt/cdrw. You may have to chmod that, too.

If you like, you should change all occurances of "owner" to "user" to gain user access to your floppy as well.

--Shade

cholombeh 08-20-2004 01:42 AM

tanx 2 all :)
i use this line to fstab and cdrw is work...

/dev/sr0 /mnt/cdrw auto noatuo,user,ro,exec 0 0

;)

cholombeh 08-20-2004 01:43 AM

/dev/sr0------ /mnt/cdrw------auto--------- noatuo,user,ro --------0 0

cholombeh 08-20-2004 01:45 AM

sorry this line in correct:

/dev/sr0--------- /mnt/cdrw---------auto---------- noatuo,user,ro,exec----------- 0 0


All times are GMT -5. The time now is 04:44 PM.