http://bugs.winehq.org/show_bug.cgi?id=58437
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #4 from Bernhard Übelacker bernhardu@mailbox.org --- I could reproduce it with these steps:
truncate -s 300M /mnt/test.img mkfs.ntfs -F /mnt/test.img mkdir /mnt/test mount -o noexec,nodev,nosuid,uid=1000,gid=1000 /mnt/test.img /mnt/test
wine /home/benutzer/tcmd1155x32.exe truncate -s 1048576 /mnt/test/sect0 truncate -s 104857 /mnt/test/_infos.txt cd $WINEPREFIX/drive_c/Program Files/totalcmd wine TOTALCMD.EXE - change both panes to z:\mnt\test - right click in left pane to file sect0, to mark it - right click in right pane to file _infos.txt, to mark it - Files - Compare by Content... - shows a message ending with "...The two files are DIFFERENT!" - button OK - button Compare - shows a message ending with "...Error: Cannot read ..." like in the screenshot
broken 10.0.0~bookworm-1 broken 10.3~bookworm-1 broken 6c9d59c9d2e6 working 07160a23fa21 working 10.4~bookworm-1 working 10.5~bookworm-1 working 10.11~bookworm-1
07160a23fa2139c2dc9cad92158ddf0b64a3e75e is the first working commit commit 07160a23fa2139c2dc9cad92158ddf0b64a3e75e Author: Alexandre Julliard julliard@winehq.org Date: Thu Mar 20 15:35:39 2025 +0100
ntdll: Always map files as writable and adjust permissions.
So that PAGE_WRITECOPY can be set after the fact.
Therefore I think this issue is already solved since wine-10.4.