From nobody Mon Oct 09 12:41:31 2023 X-Original-To: xfce@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 4S3zDW1Ltpz4wQpM for ; Mon, 9 Oct 2023 12:41:31 +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 4S3zDV6X0Lz4X0Z for ; Mon, 9 Oct 2023 12:41:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696855290; a=rsa-sha256; cv=none; b=UX060mbjxbRfSjOxeultpObCwQvoMU45TEP+D7zjQGu0j1k2hzo89uVpatXoWOdr9l1iSN EUV2/S1M8l/aZB8wA3GLqF2mAr9smHcfiRYQDc+e2uahVVua7PF1LnYjHG2lkzk49pJBlD k4Dqx3dbVI38h5gRQkMTzLSYMRDImcHyFnmlqESlfxhPazcVXpakUp0M/9XjFyc4T5/uEb Gy3Wv6mB3rxzvucnHrBZV24O/5jfO3EE2GKwh3mnatR3mN623ABB0icamM46gA/BTwmQ9t eIiti3n9KhIjEEQXPatz8goRJvrIraggqd3D7U/oveG6CNnvpNzTnkM4ZfpjZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696855290; 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=1FAjFgAIswgWypMBEyM6zbKvdHyg6/vI9dPT7a/+fvo=; b=W+He0AuUaW42jSeh5XnOv6MvKsY9xFrwtRyVyyc4PbqPUEKr7RZsbdPwlrxWMfv3Ce830r 7b8oJBzwpevr0jjpfIt5/6I/YOFZyf1qTtHqI+o5KInE9X68u/04u9+m9PviB92aejC8Xj uzfsmyNBqoJAv2clb2b/b/RDmGQVsZFSkhxwBzdPkIwyDa5x5TLleRDoWhT1tJxcPgtopw DTmeX4d09YjiDUuxBNR1cr5KjrZJcey/vwlCvqIvTXazKR/8xmGq+tftRmJDI8BxaVgypb 5CkDBJUqz0ZV1feQk4cJSLaFoWojYInjQSOlPLArJd+NOKmU7Ocw0NJjZlzD+w== 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 4S3zDV5chqzwW9 for ; Mon, 9 Oct 2023 12:41:30 +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 399CfUbp040662 for ; Mon, 9 Oct 2023 12:41:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 399CfUhi040661 for xfce@FreeBSD.org; Mon, 9 Oct 2023 12:41:30 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: xfce@FreeBSD.org Subject: [Bug 202192] x11-fm/thunar 1.6.11 change file permissions on SSHFS-mounted files/directories Date: Mon, 09 Oct 2023 12:41:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: madpilot@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not Accepted X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: xfce@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: 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: XFCE List-Archive: https://lists.freebsd.org/archives/freebsd-xfce List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-xfce@freebsd.org X-BeenThere: freebsd-xfce@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202192 --- Comment #25 from Guido Falsi --- (In reply to Ivan Rozhuk from comment #24) Please note that your patch to `thunar/thunar-file.c` cannot be accepted upstream because it is wrong according to common UNIX filesystem logic. Users can change permission on files they own, even if they have no write permission. The problem you are trying to solve with that patch is not solvable in thun= ar, in fact it is not file manager job to do that, the problem is with sshfs th= at fails to properly map remote ownership/permission. Maybe this can be solved in sshfs via configuration o patching it, but ther= e is no definitive solution in thunar, since the information you are trying to g= uess requires knowledge of the state at the remote end. Either sshfs conveys tha= t in some way via filesystem interfaces or it is completely impossible to solve = it the way you'd like. Have you tested with other file managers? If you find one that works "right" (for any definition of right) maybe we can look at what it does and get some ideas. (my interpretation is that other file managers will show similar behaviour = to thunar or equally broken but in different ways behaviour, but I could be wr= ong) --=20 You are receiving this mail because: You are the assignee for the bug.=