https://bugs.winehq.org/show_bug.cgi?id=52091
Rafał Harabień rafalh92@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rafalh92@outlook.com
--- Comment #7 from Rafał Harabień rafalh92@outlook.com --- Created attachment 71838 --> https://bugs.winehq.org/attachment.cgi?id=71838 strace for command: wine 'Z:\mnt\c\something\a.bat' (Z:\mnt\c\Something\a.bat exists but cannot be found)
I believe I just stepped onto this issue. For no reason my Wine has today some trouble to handle case mismatches on ntfs partitions. I did not install any suspicious updates or modify mount options so I was very much surprised. The same behaviour on Wine 6.0 and 7.0, even with clear prefix.
Z:\mnt>mkdir c\Something <- NTFS Z:\mnt>mkdir storage\Something <- Ext4 Z:\mnt\c>cd Z:\mnt\c\something\ File not found. Z:\mnt\c>cd Z:\mnt\storage\something\
I was looking into the code and tried to find the root cause. Based on strace (which I attached) it seems get_dir_case_sensitivity_stat checks if filesystem is case insensitive (EXT2_IOC_GETFLAGS) and gets EXT4_CASEFOLD_FL flag. In such case it does not scan the directory (I see no scanning in the strace output). Perhaps root cause of this issue is in ntfs-3g or fuse kernel driver...