Comment 2 for bug 635499

Revision history for this message
Petar Velkovski (pvelkovski) wrote : Re: Nautilus fails to mount some UDF DVDs properly

Now I'm trying to mount an UDF formated DVD that is mounted properly. It is and purchased DVD Video disk. This time everything works as expected. The disk is mounted and I'm presented with an window asking me what action I want take next. The default is to open Movie Player.

dmesg output:
...
[ 210.525173] UDF-fs: Partition marked readonly; forcing readonly mount
[ 210.550422] UDF-fs INFO UDF: Mounting volume 'DVDVolume', timestamp 2036/02/07 12:58 (1078)

petar@aurora:~$ cat /etc/mtab
/dev/sda6 / ext4 rw,errors=remount-ro,commit=0 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
/dev/sda1 /boot ext4 rw,commit=0 0 0
/dev/sda7 /home ext4 rw,commit=0 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/petar/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=petar 0 0
/dev/sr0 /media/cdrom udf ro,nosuid,nodev,utf8,user=petar 0 0

Some forums state that there are different UDF format versions. I've read complaints that say that UDF formated DVDs created with Vista are not accessible under Linux/Ubuntu (as Vista uses some specific UDF format). I don't remember where, but one guy was claiming that newer UDF formats store some permission settings and that's why some tweaks have to be made in /etc/fstab have to be made in order to make this kind of UDF DVDs accesible to normal users (instead of only to the root user???) I find this an important hint for where to look for when trying to fix this bug, moreover because I tried accessing the previous mentioned DVDs with the last line in /etc/fstab removed (as it was on a cleanly installed Maverick). I'm getting the same end results, and the only deference is that when the line is removed, the system mounts the DVDs in some other directory.

This is what i get when I remove the line and insert another UDF DVDs that is inacessible.

dmesg

...
[ 87.355470] UDF-fs: Partition marked readonly; forcing readonly mount
[ 87.387023] UDF-fs INFO UDF: Mounting volume '071014_1703', timestamp 2007/10/14 16:03 (1078)

petar@aurora:~$ cat /etc/mtab
/dev/sda6 / ext4 rw,errors=remount-ro,commit=0 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
/dev/sda1 /boot ext4 rw,commit=0 0 0
/dev/sda7 /home ext4 rw,commit=0 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/petar/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=petar 0 0
/dev/sr0 /media/071014_1703 udf ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,iocharset=utf8,umask=0077 0 0

petar@aurora:~$ ls -al /media/
total 14
drwxr-xr-x 4 root root 4096 2010-09-11 07:25 .
drwxr-xr-x 21 root root 4096 2010-09-10 04:33 ..
dr-------- 4 petar petar 152 2007-10-14 16:03 071014_1703
drwxr-xr-x 2 root root 4096 2010-09-10 03:58 cdrom
petar@aurora:~$ ls -al /media/071014_1703/
ls: cannot access /media/071014_1703/.: Permission denied
ls: cannot access /media/071014_1703/..: Permission denied
ls: cannot access /media/071014_1703/AUDIO_TS: Permission denied
ls: cannot access /media/071014_1703/VIDEO_TS: Permission denied
total 0
d????????? ? ? ? ? ? .
d????????? ? ? ? ? ? ..
?????????? ? ? ? ? ? AUDIO_TS
?????????? ? ? ? ? ? VIDEO_TS
petar@aurora:~$ sudo -s
root@aurora:~# ls -al /media/071014_1703/
total 10
dr-------- 4 petar petar 152 2007-10-14 16:03 .
drwxr-xr-x 4 root root 4096 2010-09-11 07:25 ..
dr-------- 2 petar petar 40 2007-10-06 03:05 AUDIO_TS
dr-------- 2 petar petar 1576 2007-10-06 03:05 VIDEO_TS
root@aurora:~# ls -al /media/
total 14
drwxr-xr-x 4 root root 4096 2010-09-11 07:25 .
drwxr-xr-x 21 root root 4096 2010-09-10 04:33 ..
dr-------- 4 petar petar 152 2007-10-14 16:03 071014_1703
drwxr-xr-x 2 root root 4096 2010-09-10 03:58 cdrom
root@aurora:~# cd /media/071014_1703/
root@aurora:/media/071014_1703# ls
AUDIO_TS VIDEO_TS
root@aurora:/media/071014_1703# cd AUDIO_TS/
root@aurora:/media/071014_1703/AUDIO_TS# ls
root@aurora:/media/071014_1703/AUDIO_TS# cd ..
root@aurora:/media/071014_1703# cd VIDEO_TS/
root@aurora:/media/071014_1703/VIDEO_TS# ls -al
total 4533162
dr-------- 2 petar petar 1576 2007-10-06 03:05 .
dr-------- 4 petar petar 152 2007-10-14 16:03 ..
-r-------- 1 petar petar 18432 2006-08-08 16:40 VIDEO_TS.BUP
-r-------- 1 petar petar 18432 2006-08-08 16:40 VIDEO_TS.IFO
-r-------- 1 petar petar 122880 2006-08-08 16:40 VIDEO_TS.VOB
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_01_0.BUP
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_01_0.IFO
-r-------- 1 petar petar 675674112 2006-08-08 14:06 VTS_01_1.VOB
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_02_0.BUP
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_02_0.IFO
-r-------- 1 petar petar 615262208 2006-08-08 14:25 VTS_02_1.VOB
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_03_0.BUP
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_03_0.IFO
-r-------- 1 petar petar 684007424 2006-08-08 15:28 VTS_03_1.VOB
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_04_0.BUP
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_04_0.IFO
-r-------- 1 petar petar 729544704 2006-08-08 15:47 VTS_04_1.VOB
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_05_0.BUP
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_05_0.IFO
-r-------- 1 petar petar 637497344 2006-08-08 16:04 VTS_05_1.VOB
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_06_0.BUP
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_06_0.IFO
-r-------- 1 petar petar 633649152 2006-08-08 16:21 VTS_06_1.VOB
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_07_0.BUP
-r-------- 1 petar petar 22528 2006-08-08 16:40 VTS_07_0.IFO
-r-------- 1 petar petar 665843712 2006-08-08 16:40 VTS_07_1.VOB
root@aurora:/media/071014_1703/VIDEO_TS# cd ~
root@aurora:~# umount /media/071014_1703
root@aurora:~# ls /media/
cdrom

This time at least the medium is unmountable!

What I'm wondering is, if the fix for this problem should be in tweaking the DVD drive entry in /etc/fstab or somewhere else.