[Bug 1577] New: utf8 flag in vfat mount options prevents wine from working

Wine Bugs wine-bugs at winehq.com
Tue Jul 8 10:23:46 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1577

           Summary: utf8 flag in vfat mount options prevents wine from
                    working
           Product: Wine
           Version: 20030618
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wine-loader
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: jargonautti at hotmail.com


If the "utf8" flag is specified in the mount options, Wine aborts with "wine:
cannot find 'programname'. For example, cut 'n pasted from the console:

[juho at ua247d157 juho]$ wine /mnt/dosc/Ohjelmatiedostot/Agent/agent.exe
wine: cannot find '/mnt/dosc/Ohjelmatiedostot/Agent/agent.exe'

If the utf8 flag is removed, wine works normally, but the system can't display
some filenames in VFAT volume correcly (replaces some characters with a ? ).

The line of fstab for this partition reads as follows:

/dev/hda1 /mnt/dosc vfat uid=0,gid=501,umask=007,rw,noexec,codepage=850,utf8 0 0

The partition has been checked for errors with scandisk (in native Windows), and
none were found. Ls and xmms have no problems accessing the partition.

The same problem happens in other partitions mounted with utf8 flag, too.

The problem started immediately (next run) after adding the utf8 and codepage
flags, and disappeared immediately (next run) after removing the utf8 flag, only
to reappear after readding it.

How to reproduce:
1. Mount a vfat volume with utf8 flag.
2. Try to run a program with Wine in that partition.

And please note that the filename (and path) itself contained no special
characters, nor did any other file in any of the directories on the way.


This is a major bug since it prevents one from correctly displaying VFAT
partitions directory lists while working with wine. Since Wine can be expected
to run programs which require access to said directories, this has the makings
of a headache...

System information:

Distribution: Red Hat Linux 9
Kernel (uname -r): 2.4.20-18.9 (not self-compiled)
Wine version: wine-20030618-1rh9winehq.athlon.rpm from the sourceforge page
Libc (in /lib/): libc-2.3.2.so
Memory: 512 megs
CPU: Duron 1Ghz
df of relevant partition: /dev/hda1 20472816  20226304 246512 99% /mnt/dosc

Ask if you need any more information.

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list