LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-03-2006, 07:10 PM   #1
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
Question 'Permission denied' for cdrom drive but not cdwriter.


I have just started using Red Hat after using SuSE for several years.

I burnt a cd using k3b after logging in as root.

Now I can see files on external cdwriter after it mounts cdrom but if I put the cd into the separate cd drive in PC it finds and mounts the drive but won't display contents and I get 'Permission denied' error.

This is my fstab file


dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/cdrom-hdc /media/cdrom-hdc auto defaults 1 1
/dev/cdwriter /media/cdwriter auto defaults 1 1
/dev/VolGroup00/LogVol01 swap swap defaults 0 0

Any help is appreciated.

Cheers
 
Old 09-04-2006, 02:20 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
Try this

/dev/cdrom-hdc /media/cdrom-hdc auto auto,exec,users 1 1
 
Old 09-05-2006, 06:52 PM   #3
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Original Poster
Rep: Reputation: 35
Thanks for the reply, I later realised that users COULD use cdrom drive for audios but not data cds. Audios now automount. Strangely enough for my purposes this is good (public access network). I don't want users mounting data cds.

Cheers
 
  


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
other drive drive NTFS - permission denied! dragos19 Linux - Hardware 4 04-09-2009 10:24 PM
smbmount works but I get permission denied when access the drive jeickal Linux - Networking 0 12-17-2004 11:22 AM
cd drive: permission denied aje Slackware 5 11-11-2004 08:50 PM
devfs=nomount causes cdrom permission denied filippomeucci Linux - Laptop and Netbook 0 06-16-2004 07:19 PM
Permission denied to drive when mounted at boot wr3ck3d Linux - General 2 12-30-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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