On Tue, Jun 13, 2023 at 06:17:35PM -0500, Steve French wrote:
Samba seems to be the only server with this bug (I tried it with and without vfs_btrfs as well). The test works to the other servers I tried including Windows. Windows server updates ctime on hardlinks, but Samba fails to update the timestamps in this case since it looks like it populates both ChangeTime (ctime) and LastWriteTime (mtime) based on mtime rather than setting: ChangeTime = ctime (and LastWriteTime = mtime). Locally the mtime and ctime are correct on the Samba server, but remotely it reports it wrong.
Can you log a bug please and upload traces of the client talking to a Windows.latest server and a Samba.master built server. Thanks, Jeremy.