http://bugs.winehq.org/show_bug.cgi?id=17758
Summary: GetFileAttributesExW accepts unix paths Product: Wine Version: 1.1.17 Platform: Other URL: http://www.python.org/ftp/python/3.0.1/python-3.0.1.msi OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: madewokherd@gmail.com
GetFileAttributesExW("/bin/sh") succeeds if /bin is mapped. Some of python's tests use this check to decide whether it's running on a Unix system. It then tries to start a subprocess using /bin/sh and read its output; this does not work because Wine processes cannot read the output of non-Wine processes.
In python's case, this is harmless and only results in a few test failures.
Files should not be accessible to Windows programs by their Unix paths. We wouldn't want them to think /bin/sh is actually useful.