[Bug 41194] SetFileTime does not set timestamp on ntfs-3g mounts

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 22 08:49:15 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=41194

Gabriel Ivăncescu <gabrielopcode at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gabrielopcode at gmail.com

--- Comment #1 from Gabriel Ivăncescu <gabrielopcode at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list