Bug 262810 - sysutils/fusefs-sshfs mtime adjusted when atime should be adjusted on some bsd instances
Summary: sysutils/fusefs-sshfs mtime adjusted when atime should be adjusted on some bs...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-25 18:43 UTC by JW
Modified: 2022-06-26 17:00 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JW 2022-03-25 18:43:40 UTC
- 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


- Linux clients do not have the same problem.
Comment 1 JW 2022-03-25 19:25:38 UTC
OS X's SSH:
OpenSSH_8.1p1, LibreSSL 2.7.3
Comment 2 JW 2022-03-25 23:51:58 UTC
I went ahead and sent a bug report to fusefs-sshfs since it is happening with two OSes.  I did not find any information on the github site indicating a known issue.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-03-27 09:44:34 UTC
I have to check on this. For now just sharing the reference Issue here:
https://github.com/libfuse/sshfs/issues/282
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2022-06-26 16:29:52 UTC
(In reply to Muhammad Moinur Rahman from comment #3)

<https://github.com/libfuse/sshfs#this-project-is-orphaned>

Oh :-(
Comment 5 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-06-26 17:00:37 UTC
(In reply to Graham Perrin from comment #4)
Yeap. I have seen this and I believe there is no easy fix with this now. So try to think of alternative solutions. I have recently moved to rclone and sftp for the same purpose.