sshfs icon indicating copy to clipboard operation
sshfs copied to clipboard

mtime adjusted when atime should be adjusted on some bsd instances

Open app1007 opened this issue 3 years ago • 0 comments

Upon accessing a file such as reading the contents with diff, the mtime is changed instead of atime.

Work around is to use sshfs with -o noatime.

Client: FreeBSD xyz 13.0-STABLE FreeBSD 13.0-STABLE GENERIC amd64 (as GhostBSD)

SSHFS version 3.7.2 FUSE library version 3.10.5 using FUSE kernel interface version 7.31 mount_fusefs [fuse4bsd] version: 0.3.9-pre1

OpenSSH_8.8p1, OpenSSL 1.1.1m-freebsd 14 Dec 2021-

Server: Linux #1529 SMP PREEMPT Tue Mar 8 12:26:46 GMT 2022 aarch64 GNU/Linux

OpenSSH_7.9p1 Debian-10+deb10u2+rpt1, OpenSSL 1.1.1d 10 Sep 2019

Also happens on OS X.

Client: Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64

SSHFS version 2.5 (OSXFUSE SSHFS 2.5.0) FUSE library version: 2.9.9

OpenSSH_8.1p1, LibreSSL 2.7.3

I tried two Linux clients and they do not seem to have the same problem.

app1007 avatar Mar 25 '22 23:03 app1007