RE: problem mounting DVD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
The problem is this. When I try to mount a dvd as a user using type udf
the device mounts but trying to list the contents of the disk produces
a permission denied error. Mounting the device as a user using type
iso9660 and I have proper permissions to read the files. No problem
with mounting as udf or iso9660 if I am root.

when the drive is mounted as iso9660 then ls -l /mnt
dr-xr-xr-x    1 root     root         2048 Mar  2 12:00 cdrom

trying to list the contents of the dvd ls -l /mnt/cdrom
-r-xr-xr-x    1 root     root     15067136 Feb 20 12:53 vanian~1.tar
------------------
when the drive is mounted as auto or udf then ls -l /mnt
dr--r--r--    2 4294967295 4294967295      132 Mar  3 00:00 cdrom

Trying to list the contents of the dvd ls -l /mnt/cdrom
ls: /mnt/cdrom/VANIAN_VBM_02202004-1.tar: Permission denied
------------------

Why should the permissions change depending on the mount type?????
------------------------------------------------
Here are the details of my setup:

Redhat 8.0, kernel-2.4.20-28.8,  Teac combo drive (DV-W58E)
CD-R/DVD+R/RW.

I know the drive is working fine because I took it out, installed it in
a windows
machine and it recognized and burned a dvd just fine.

Here is some system info:

/etc/grub.conf contains the line
kernel /vmlinuz-2.4.20-28.8 ro root=LABEL=/ hdc=ide-scsi

/etc/fstab contains the lines
/dev/cdrom /mnt/cdrom auto noauto,user,kudzu,ro 0 0
/dev/dvd    /mnt/cdrom  auto noauto,user,kudzu,ro 0 0

if I want to mount the dvd as iso9660 then i just change fstab to read.
/dev/dvd    /mnt/cdrom  iso9660 noauto,user,kudzu,ro 0 0

ls -l /dev/dvd
lrwxrwxrwx    1 root     root            9 Mar  3 09:11 /dev/dvd ->
/dev/scd0

ls -l /dev/scd0
brw-rw----    1 root     disk      11,   0 Aug 30  2002 /dev/scd0

When the drive is not mounted then
ls -l /mnt
drwxrwxrwx 2 root root 4096 Mar 2 18:59 cdrom


I've run out of things to try. Any suggestions,
Thanks,
Darren

had a similar problem with a usb drive a couple of months ago. What fixed it
for me was as root chmod 777 /dev/sda try chmod 777 /dev/scd0. And changed
fstab entry user to users, this will allow any user to mount the drive.
Although I have not tried this with a cdrom or dvd drive, the devises are
similar.



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux