Re: Samba ctime still reported incorrectly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Steve,

On 4/28/24 9:41 PM, Steve French via samba-technical wrote:
I did another test of the Samba server ctime bug on Samba master
(4.21.0pre1) and Samba server is still broken in how it reports ctime.
An example scenario is simple, creating a hardlink is supposed to
update ctime on a file (and this works fine to Windows server and
ksmbd etc) but Samba server mistakenly reports ctime as mtime (unless
you mount with the "posix" mount option).  This e.g. breaks xfstest
generic/236 when run to Samba

More information is at:
https://bugzilla.samba.org/show_bug.cgi?id=10883

I wonder if this is a bug going back as far as c9dca82ed7757f4745edf6ee6048bd94d86c4dbc

@Jeremy: do you remember why you chose to return mtime in get_change_timespec() and not ctime?

-slow

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux