https://bugs.winehq.org/show_bug.cgi?id=42446
Stan markau0@lycos.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markau0@lycos.com
--- Comment #29 from Stan markau0@lycos.com --- The Native Access bug is due to the GetVolumePathNameW function (dlls kernel32 volume.c) which has
c = strrchrW( volumenameW, '\' );
which searches the volumenameW string for backslash's whereas it should be searching for slash's
changing
c = strrchrW( volumenameW, '\' );
to
c = strrchrW( volumenameW, '/' );
results in correct volumename being returned and Native Access then works normally.
Native Access is calling GetVolumePathNameW and then GetVolumeInformationW to see if it's being run from a read only volume.
GetVolumeInformationW is getting the wrong volume path from GetVolumePathNameW because of the backslash/slash bug in GetVolumePathNameW and GetVolumeInformationW is returning an error which Native Access interprets as being because it's being run on a read only filesystem and then Native Access puts up the error about it can't be run from the mounted volume and to move it to the Applications folder which is really a mac error but that's the error message NI use.
https://bugs.winehq.org/show_bug.cgi?id=44685