From nobody Wed Jan 26 01:26:45 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 88923196DF9B for ; Wed, 26 Jan 2022 01:26:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jk5fY24Wfz4X1M for ; Wed, 26 Jan 2022 01:26:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 23814143E4 for ; Wed, 26 Jan 2022 01:26:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20Q1Qjjf027552 for ; Wed, 26 Jan 2022 01:26:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20Q1Qj66027551 for bugs@FreeBSD.org; Wed, 26 Jan 2022 01:26:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261434] [sysutils/fusefs-sshfs] updating a file's atime causes its mtime to change too Date: Wed, 26 Jan 2022 01:26:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643160405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jZv9E5beZ1z2biqWQt8LpjR+T+WG3HHGaurWjjuGBfg=; b=SgT8Y2yD7y0qro0RZsRXSUNZdxnbNzErX7PnFlGKNBSRTFnwISZy6wy6Pzn01JHC6MLBUj rTsr/YYNuXewQYr/reOw4tiu3KHGNEcfOBLCJU2QJwSz4kKbPX8MDKrkOshooFIFi+VhrF Zs6onLKlytlFDfEWrv9T3T937sV4pHNXcroCO7mQNRX9+Mzb1ENjcSNB8SH7cFuNgnyUrW wUevCwyNxE0kmRixl2yni+irAW6nGp4TXeFJqPtnnUUmHW78WNKol658pECf/gS9+PEHS2 N+nECDPzzZiVsvxpPO6xsWhhtN0472ZvpBppmYD51hmL3OXCKJRC7gvKbjBj4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643160405; a=rsa-sha256; cv=none; b=jc1gTILMPgZC/o5qKdpNLaxGAR3Wrgf3b3tGRJkye9ZF4DxknwizoSXKkeoQaTB8MOIPY7 lr89gMlliJUHrSS3C78tE62kGs/QuLW4H89VzgSr/claJwgX/KcgzCzAFxCrP8MevYxh8N JUvlw6Ohu6F40FZgajyp43WQBfkAoT8Ec7+ej6JJQi6LuJ8q88t7+IrdDOUNtEJYB3k1zF LbdX7lBF7EvmRwnb3eb0FBRL5xh6ksNA2YVf3hsl7pcbrQDIJAqmkcvPomT/vm2o1dCE9D LLLNdH747Cr1Zgoi41Ii2jNyrnXV1OeqbKqB+fb4riJpOPduvutuSiWal/iVBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261434 Ivan Rozhuk changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|Works As Intended |FIXED --- Comment #20 from Ivan Rozhuk --- > We have already verified, from reading its code, that sshfs ignores any U= TIME_OMIT value. That is the bug. No, this is not BUG, at least not sshfs, may be libfuse. If you look into history: https://github.com/libfuse/libfuse/commit/71bfb92607ce2312c8adb7359a6d88347= 3c51748 in past there was flag_utime_omit_ok flag: > If the filesystem sets this flag then ->utimens() will receive UTIME_OMIT= and UTIME_NOW values as specified in utimensat(2). That has been removed later: https://github.com/libfuse/libfuse/commit/4496de197143a9c8aa57b5ebbf45c9941= ec20b0b This describes why this was done: https://sourceforge.net/p/fuse/mailman/fuse-devel/thread/E1NN4MD-0005ZG-7M%= 40pomaz-ex.szeredi.hu/#msg24235345 https://lore.kernel.org/lkml/4B2F7421.10005@byu.net/T/ --=20 You are receiving this mail because: You are the assignee for the bug.=