LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-19-2004, 03:28 PM   #1
cholombeh
LQ Newbie
 
Registered: Sep 2003
Distribution: slackware
Posts: 17

Rep: Reputation: 0
Unhappy 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:
mountnly 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
 
Old 08-19-2004, 03:34 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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...

Last edited by b0uncer; 08-19-2004 at 03:37 PM.
 
Old 08-19-2004, 04:33 PM   #3
cholombeh
LQ Newbie
 
Registered: Sep 2003
Distribution: slackware
Posts: 17

Original Poster
Rep: Reputation: 0
tanks b0uncer
in this time with ur help i can see and use cdrom in user mode.
but cdrw that appear same error
 
Old 08-19-2004, 11:24 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
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
 
Old 08-20-2004, 01:42 AM   #5
cholombeh
LQ Newbie
 
Registered: Sep 2003
Distribution: slackware
Posts: 17

Original Poster
Rep: Reputation: 0
tanx 2 all
i use this line to fstab and cdrw is work...

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

 
Old 08-20-2004, 01:43 AM   #6
cholombeh
LQ Newbie
 
Registered: Sep 2003
Distribution: slackware
Posts: 17

Original Poster
Rep: Reputation: 0
/dev/sr0------ /mnt/cdrw------auto--------- noatuo,user,ro --------0 0
 
Old 08-20-2004, 01:45 AM   #7
cholombeh
LQ Newbie
 
Registered: Sep 2003
Distribution: slackware
Posts: 17

Original Poster
Rep: Reputation: 0
sorry this line in correct:

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


Reply



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
idetify cdrw in cdrom woerns Programming 1 01-17-2005 08:44 AM
Turning a Cdrom into a CDRW Sabicas Slackware 20 10-07-2004 04:04 PM
cdrom & cdrw dilberim82 General 5 01-09-2004 11:22 AM
re: how do I mount my cdrom-which is a cdrw ergo_sum Linux - Hardware 10 11-01-2003 04:37 AM
CDROM, CDRW Mount Harryc Linux - Newbie 5 01-01-2003 05:18 AM

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

All times are GMT -5. The time now is 01:07 AM.

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