http://bugs.winehq.org/show_bug.cgi?id=13273
--- Comment #10 from Ben Klein shacklein@gmail.com 2009-01-23 15:32:37 --- (In reply to comment #9)
Ok. Tried to install Utawarerumono from a mounted iso image (I have an eeePC, no dvdrom here). The game installer (installed from english-patch, that was separate from the iso) searches for a disk by disk label.
- Tried mounting with fuseiso and adding a disk + autodetect parameters.
Autodetecting media type and disk label does not work. Failed. 2) Same as #1, but setting parameters manually. Setting media type manually works, setting disk label does not work. Failed. 3) Tried mounting as root with -o loop. (mount -o loop *.iso /media/vdrive ). Autodetecting disk label does not work. Failed. 4) Same as #3, but with "sudo chmod 0744 /dev/loop0". Here autodetecting media type _and_ disk label works, and I was able to launch the installer. OK.
But it is a bad idea to use root access for that what could be done in user mode. And giving user permissions to read the whole root-mounted device - too.
#1 and #2 could be fixed.
#2: just fix the field and store the disk id and label in registry in the same place, as disk type.
#1: just make it work as #4, but look for the paths to devices in fuse. (~/.mtab.fuseiso).
It is probably a different wine bug with fuse. Should I open a new bugreport?
Do you have a device node link in ~/.wine/dosdevices that points to the ISO file?
#1 may not be easily fixed. Wine can't account for ever single irregularity in various fuse drivers, and autodetecting a mounted image (especially one that's not in fstab) is always a problem because it just looks like another directory.
I proposed a method for fixing #2 in comment #4.
In your #4, if the problem is fixed by making the loop device readable by your normal user, then it's not really a problem with Wine, and it would probably be fixed by the device node link I mentioned before.