[Bug 17585] New: Wine behave case sensitive over CIFS/samba share
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Mar 2 05:06:12 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=17585
Summary: Wine behave case sensitive over CIFS/samba share
Product: Wine
Version: 1.1.16
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: pepie34 at gmail.com
Assuming you've got a computer A with the following files:
- use_mingw_dll.exe
- MinGW_DLL.dll
'use_mingw_dll.exe' was compiled to use 'mingw_dll.dll' all in lower case.
(file sources/ build script in the attachment)
You can run Wine locally on computer A with 'use_mingw_dll.exe'. Wine is clever
enough to load all the dll that the app needs even if the dll case may vary and
even if the local file system is case sensitive.
Computer A as a samba share defined to export those two files.
(smb.conf share definition in the attachment).
Now we introduce computer B, it mounts this share to mnt:
$ mount -t cifs -o username=mylogin //serverip/testdll mnt
If you try to launch 'use_mingw_dll.exe' it will failed as Wine behave now with
case sensitivity:
$wine mnt/use_mingw_dll.exe
err:module:import_dll Library mingw_dll.dll (which is needed by
L"Z:\\home\\mylogin\\tmp\\testdll\\mnt\\use_mingw_dll.exe") not found
err:module:LdrInitializeThunk Main exe initialization for
L"Z:\\home\\mylogin\\tmp\\testdll\\mnt\\use_mingw_dll.exe" failed, status
c0000135
Whereas 'ls' command recognizes correctly the dll with no case sensitivity:
$ ls mnt/mingw_dll.dll
mnt/mingw_dll.dll
$ ls mnt/mingw_DLL.dll
mnt/mingw_DLL.dll
$ls mnt/MiNgW_DlL.DlL
mnt/MiNgW_DlL.DlL
I have noticed this behavior on at least 3 different win32 apps and on the toy
example in the attachment.
(I'm on ubuntu intrepid ibex, samba 3.2 wine 1.1.16)
Strangely, if I put "case sensitive=yes" on the definition of the samba share,
Wine will work. Nevertheless, you'd better not set this option on yes when real
windows computer access the share. "unix extensions = no" option do nothing.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list