[Bug 261434] [sysutils/fusefs-sshfs] updating a file's atime causes its mtime to change too

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Jan 2022 03:51:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261434

Alan Somers <asomers@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Works As Intended

--- Comment #17 from Alan Somers <asomers@FreeBSD.org> ---
Please do not reopen the bug.

> #ifdef HAVE_UTIMENSAT - "new code" block, added in 2012, before it 4 years work > only code that requires both times together.

So what?  You aren't using a 2012 build of sshfs, I hope.

> This change nothing.

It changes everything.  Without "-o strictatime", Linux does "relatime", which
basically means that it only updates atime once every 24 hours.  You MUST use
"-o nostrictatime" to see the POSIX-compliant atime behavior.

> Do you test all fusefs consumers to ensure that updating only atime work correctly?

All?  Of course not.  But I have tested several, and they all work fine.

Please do not reopen the bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.