Samba ctime still reported incorrectly

Jeremy Allison jra at samba.org
Mon Apr 29 19:59:08 UTC 2024


On Mon, Apr 29, 2024 at 09:27:15PM +0200, Ralph Boehme wrote:
>On 4/29/24 7:17 PM, Jeremy Allison wrote:
>>
>>If you look closely at that commit, you'll see
>>that it's actually not changing the logic that
>>previously existed :-).
>
>yeah, sure, but it was a decent refactoring so I was wondering whether 
>you'd considered the actual logic you were touching was correct. :)

That wasn't the point of the change I'd guess (although
it's from 2009, so who can remember :-).

>Hm, so what do we do? MS-FSA seems to indicate NTFS ctime has pretty 
>much the same semantics as POSIX ctime:
>
>2.1.1.3 Per File
>
>LastChangeTime: The time that identifies when the file metadata or 
>contents were last changed in the FILETIME format specified in 
>[MS-FSCC] section 2.1.1.
>
>Let's see how many tests complain:
>
><https://gitlab.com/samba-team/devel/samba/-/pipelines/1272333543>

Yep. This is the right thing to do going forward. Let's
see what breaks. Remember, 2009 was way before we had
any good time tests.



More information about the samba-technical mailing list