[Bug 41194] New: SetFileTime does not set timestamp on ntfs-3g mounts
https://bugs.winehq.org/show_bug.cgi?id=41194 Bug ID: 41194 Summary: SetFileTime does not set timestamp on ntfs-3g mounts Product: Wine Version: 1.9.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: wine.severach(a)spamgourmet.com Distribution: --- To change file times: Total Commander Wine: Files, Change Attributes Double Commander: Files, Change Attributes Linux Shell: touch -r, touch -d, touch -t File time changes from TC are applied VFAT and ext mounts. File time changes from TC are ignored on NTFS mounts. Linux touch and Double Commander are able to change the file time on NTFS mounts. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41194 Chris Severance <wine.severach(a)spamgourmet.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.severach(a)spamgourmet.c | |om -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41194 Gabriel Ivăncescu <gabrielopcode(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gabrielopcode(a)gmail.com --- Comment #1 from Gabriel Ivăncescu <gabrielopcode(a)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.
https://bugs.winehq.org/show_bug.cgi?id=41194 Gabriel Ivăncescu <gabrielopcode(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- Confirming but I don't think this is Wine's bug. -- 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.
participants (1)
-
wine-bugs@winehq.org