https://bugs.winehq.org/show_bug.cgi?id=41194
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gabrielopcode@gmail.com
--- Comment #1 from Gabriel Ivăncescu gabrielopcode@gmail.com --- I think this is a bug in ntfs-3g. Wine doesn't do anything special, see the function set_file_times in dlls/ntdll/file.c for details.
Note that Double Commander uses the utime syscall, which also works from Wine, but it isn't used because it has only second precision, and the Windows API has precision of 100 ns.
That said I have no idea why 'touch' works but Wine doesn't. I did a strace and the syscalls were identical, and both succeeded, and yet only 'touch' works because Wine's was simply ignored. It's probably a bug in ntfs-3g related to the file descriptor open mode/permissions maybe? I didn't look more into it, because it doesn't seem like a Wine bug to me.
Also the ntfs-3g forums don't allow registration right now, so I've no idea how to report it there.