LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   'Permission denied' for cdrom drive but not cdwriter. (https://www.linuxquestions.org/questions/red-hat-31/permission-denied-for-cdrom-drive-but-not-cdwriter-480126/)

mazinoz 09-03-2006 07:10 PM

'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

odcheck 09-04-2006 02:20 AM

Try this

/dev/cdrom-hdc /media/cdrom-hdc auto auto,exec,users 1 1

mazinoz 09-05-2006 06:52 PM

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


All times are GMT -5. The time now is 12:51 AM.