Samba returning mtime for multiple time stamp fields

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

 



I noticed a problem with Samba when running xfstest 236.

xfstest/236 does
touch file1
stat file1
ln file1 file2
stat file2

And checks to make sure ctime is updated.  Locally I can see the ctime
is updated, but Samba reports the value of mtime in both mtime and
ctime (and doesn't show the change to ctime which causes the test to
fail)

root@smfrench-ThinkPad-P52:/mnt2# stat /test/out1
  File: /test/out1
  Size: 0          Blocks: 8          IO Block: 4096   regular empty file
Device: 10302h/66306d Inode: 552933716   Links: 2
Access: (0777/-rwxrwxrwx)  Uid: ( 1000/smfrench)   Gid: ( 1000/smfrench)
Access: 2023-05-09 15:49:37.000109800 -0500
Modify: 2023-05-09 15:49:37.000109800 -0500
Change: 2023-05-09 15:50:08.405799460 -0500
 Birth: 2023-05-09 15:49:36.980131061 -0500
root@smfrench-ThinkPad-P52:/mnt2# stat out1
  File: out1
  Size: 0          Blocks: 8          IO Block: 1048576 regular empty file
Device: 35h/53d Inode: 226         Links: 2
Access: (0777/-rwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2023-05-09 15:49:37.000109800 -0500
Modify: 2023-05-09 15:49:37.000109800 -0500
Change: 2023-05-09 15:49:37.000109800 -0500
 Birth: 2023-05-09 15:49:36.980131000 -0500

#  /usr/local/samba/sbin/smbd -V
Version 4.19.0pre1-GIT-3633027e49a


-- 
Thanks,

Steve



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

  Powered by Linux