Date: Mon, 24 Jan 2022 22:30:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261434 --- Comment #8 from Ivan Rozhuk <firstname.lastname@example.org> --- (In reply to Alan Somers from comment #7) > The FUSE_SETATTR command allows the kernel to set any combination of timestamps It may allow whatever, but it call utimens() with limited interface. Even more, this utimens() can not accept UTIME_OMIT because it have different values on linux and bsd. UTIME_NOW can be handled by sshfs locally. My point is: kernel must call utimens() with correct atime+mtime values. > So it's probably an sshfs bug that it always sets mtime whenever the kernel sets atime. utimens() send SSH_FXP_SETSTAT/SSH_FXP_FSETSTAT that requires both: atime + mtime. > Have you tried reproducing on Linux? No. I load my linux first time since November 2020 just to make sure that this is not fresh openssh issue. Linux community too big to report and fix this issue years ago. > It will probably happen if you mount with atime=on I always use sshfs with atime=on, this is default. -- You are receiving this mail because: You are the assignee for the bug.