Re: Mounting DVD. What am I doing wrong?
On Sat, 01 May 2010 15:38:50 -0500, Ron Johnson wrote:
> On 05/01/2010 02:57 PM, Rick Thomas wrote: [snip]
>> So you can "read" the directory without the "x" bit, but it doesn't do
>> you a fat load of good.
> Interesting. What magic do I chant to make executable those files in
> udf partitions, since "exec" in the fstab options doesn't seem to work?
Does this happen with all DVD/CDs you insert or just only with a few ones?
> # tail -n1 /etc/fstab
> /dev/scd0 /media/cdrom0 udf,iso9660 \
> user,uid=1000,gid=1007,noauto,exec \
> 0 0
This is my Lenny entry for optical media:
sm01@stt008:~$ cat /etc/fstab | grep cd
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
> root@haggis:~# dir /media/cdrom0
> total 10
> dr--r--r-- 3 me all_ages 88 2008-04-14 06:41:29 ./
> drwxr-xr-x 4 root root 4096 2010-04-30 14:16:34 ../
> dr--r--r-- 2 me all_ages 2068 2008-04-14 06:41:29 VIDEO_TS/
And this this what I get with no media device in the tray:
sm01@stt008:~$ ls -aFl /media/cdrom0
drwxr-xr-x 2 root root 48 nov 14 16:05 ./
drwxr-xr-x 4 root root 208 may 1 10:25 ../
Dunno what kind of magic is needed to summon to get the right permissions
on the "/media/cdrom0" mount point.
I am using GNOME so this is handle by hal/udev mixtery (the "x" was not a
typo, is just I don't fully understand the "mix of mistery" that is
behing hal/udev rules. Hopefully for me, it is working as expected).