From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SFWwG2rCRGC2BAAA0tVLHw (envelope-from ) for ; Sun, 07 Mar 2021 12:09:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WJ9aF2rCRGAIOwAAbx9fmQ (envelope-from ) for ; Sun, 07 Mar 2021 12:09:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B95CC2D6C3 for ; Sun, 7 Mar 2021 13:09:13 +0100 (CET) Received: from localhost ([::1]:35922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIsDg-0008PJ-KE for larch@yhetil.org; Sun, 07 Mar 2021 07:09:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIhL0-0002Hf-Cs for bug-guix@gnu.org; Sat, 06 Mar 2021 19:32:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIhL0-0006SM-5T for bug-guix@gnu.org; Sat, 06 Mar 2021 19:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lIhL0-0007OS-3C for bug-guix@gnu.org; Sat, 06 Mar 2021 19:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46980: ntfs-3g and setuid root with an external FUSE library Resent-From: Abdelhakim Qbaich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 07 Mar 2021 00:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46980 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46980@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161507706928316 (code B ref -1); Sun, 07 Mar 2021 00:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Mar 2021 00:31:09 +0000 Received: from localhost ([127.0.0.1]:38583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIhK8-0007Md-SN for submit@debbugs.gnu.org; Sat, 06 Mar 2021 19:31:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:55692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIfLq-00041l-5K for submit@debbugs.gnu.org; Sat, 06 Mar 2021 17:24:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIfLp-0001WQ-V7 for bug-guix@gnu.org; Sat, 06 Mar 2021 17:24:45 -0500 Received: from out1.migadu.com ([91.121.223.63]:22133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIfLn-00005b-DT for bug-guix@gnu.org; Sat, 06 Mar 2021 17:24:45 -0500 Date: Sat, 6 Mar 2021 14:24:32 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qbaich.com; s=key1; t=1615069477; 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; bh=s/Knb+m2EwAsm5XyOnGmC4wfQYP9PloX1AaXyQHdaPw=; b=Ln1KOjvWQSztLvnqr5cNrEktetz/Dsg3XsYKYD3xY0pDxyElFOUcuxohLDDQ9K0wA+JjjU RjVBwEbuIBoxXwgbLlGzmZEhh9gXtOv1TwduKtRex626uzzdCiNZf//rRYPFwEpFxXN8bv 4ZTARCu3h7N1JQLOUgX/8tfXtd427prJUuz5C7R6BU8hgeo8K2ou7jYYUlglgSlgJ5Bc3+ zCYxf0jtobC1Ah0HEyyU5YNLQn0b9NZFsn4YbNL5laZ5ThfQD5plqke33YaELwaBwM9rMj X4Rb4d5OBQflzsWF3QIQOEU4Z8pUS43ldtZraFFOoJYof3cz4jzty78iMe0kRA== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Message-ID: <20210306142432.5997158a@rome> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Migadu-Auth-User: abdelhakim@qbaich.com Received-SPF: pass client-ip=91.121.223.63; envelope-from=abdelhakim@qbaich.com; helo=out1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 06 Mar 2021 19:31:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 07 Mar 2021 07:08:48 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Abdelhakim Qbaich From: Abdelhakim Qbaich via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615118954; h=from:from:sender:sender:reply-to: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=s/Knb+m2EwAsm5XyOnGmC4wfQYP9PloX1AaXyQHdaPw=; b=A80maAu5MUbD2nMGn0yQGf4q4BJ6zYao1YXciolNwdiJohRdO1U6TztC7ycak8TV1yL68f 3HXomL6hxYmsLoC/XJPo4Gbgvf8ThmuD9anu2JWVfJX0k/vFqxLp6ayd8M6E6s2liydV5Z ImpKtm3ZPdw4qdpk219T89cn+utKvXWhxGB3ZZLqDdL+Du0z86VB4933uYi8r/3e4XRimv UkvTSqf1XVg8N8+tcRso/C7d75S2f1Mc15AVVO9TvSKX5juf9IOLDLksWBBvTl+SFn8BCX Kw5K17IqOQmjLEdpzAC+m+vUJydUiazANr3mfh2qlnqtVG/20ubnpRW2EF7yNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615118954; a=rsa-sha256; cv=none; b=AN/Dzqb82K+K6s08My2WrqfIN/d1Nw+HOnjY7CQmw3MzA9pTXoFxu+7aUtC7fVE8LUi2jG 5xi/9SeFEIql+AhJOwMDQxqjXd5GQmE0GH6x60KBBodyNDIIPKPRkbdLqzyalhUMuQyC7B +vNRtEtC1EzJalgv8Z0gkkEKVytuSpBv5zm/evXGeI6feYPGzvovHKAGjkmqoCJpYJYgq+ 1/QQjp94vqdUhGURwZ0FUrKbHQBZ1kezvODK4lj7ZZGzYDtmHp/z1kMj5/fyqX98ZY7ny/ YaKUoojpFqE5HodXJCjilZNeG9z8BuL3sIHDxNw3es5B0Wk6ge13TqUzvzHUng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qbaich.com header.s=key1 header.b=Ln1KOjvW; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qbaich.com header.s=key1 header.b=Ln1KOjvW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B95CC2D6C3 X-Spam-Score: -2.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7v5J60C7zsoH Hi, In the default set of desktop services, ntfs-3g is made setuid root: > (simple-service 'mount-setuid-helpers setuid-program-service-type > (list (file-append nfs-utils "/sbin/mount.nfs") > (file-append ntfs-3g "/sbin/mount.ntfs-3g"))) However, as it is built with: > "--with-fuse=external" ;use our own FUSE Running mount.ntfs-3g yields: > Mount is denied because setuid and setgid root ntfs-3g is insecure > with the external FUSE library. Either remove the setuid/setgid bit > from the binary or rebuild NTFS-3G with integrated FUSE support and > make it setuid root. -- Abdelhakim Qbaich