From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4FVbDyoYQWTFrgAASxT56A (envelope-from ) for ; Thu, 20 Apr 2023 12:47:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gOhaDyoYQWRt9AAA9RJhRA (envelope-from ) for ; Thu, 20 Apr 2023 12:47:06 +0200 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 DA65F3B52A for ; Thu, 20 Apr 2023 12:47:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppRc4-000438-MC; Thu, 20 Apr 2023 06:34:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppRc2-00042V-Lr for guix-patches@gnu.org; Thu, 20 Apr 2023 06:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppRc2-00070Y-E0 for guix-patches@gnu.org; Thu, 20 Apr 2023 06:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ppRc2-0005zR-9f for guix-patches@gnu.org; Thu, 20 Apr 2023 06:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61462] Add support for file capabilities(7) Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Apr 2023 10:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61462 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vagrant Cascadian Cc: Tobias Geerinckx-Rice , 61462@debbugs.gnu.org Received: via spool by 61462-submit@debbugs.gnu.org id=B61462.168198681822993 (code B ref 61462); Thu, 20 Apr 2023 10:34:02 +0000 Received: (at 61462) by debbugs.gnu.org; 20 Apr 2023 10:33:38 +0000 Received: from localhost ([127.0.0.1]:36696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppRbd-0005yn-Kq for submit@debbugs.gnu.org; Thu, 20 Apr 2023 06:33:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppRbb-0005yW-M6 for 61462@debbugs.gnu.org; Thu, 20 Apr 2023 06:33:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppRbV-0006ud-P9; Thu, 20 Apr 2023 06:33:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=npYRHYg8M+njJT9KlC8N2js7zKT21K/tBjaO9lOGuhc=; b=rE/oAcM0bOG5nsiEJJdR u2APwkoBwvlbQY4uvHVcIe2Y/bCTYzCBzJLuJK+X0HIfU9/TeVmIskkUGVFNmdrrRVJRDvNW6WeSg vVs8kD7H87dfHWN2D98vGg2206NnG0WymQOy9AEx+pzyojnFpBc4QPYBY8vLxqtilmOBofyt8TS+u 2UNi/Xb3XP3NJGGJGwgnYRj9wkjXeUmL+qJBJ5IB4BYshyI+IKcHOYDpoR5NRtKssWXv085xS8HgV FvE9E/kV3dofu7ikV1WvzUZWBzTs4j+yhDsrnqoi/ZOnQZS/V+1x8eZnYYVM+VpnBm+lCPYGni9j+ nF2PVIPbt9RiWg==; Received: from [193.50.110.118] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppRbV-0001vE-2M; Thu, 20 Apr 2023 06:33:29 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87r0uuehlr.fsf@nckx> <877cvwsbfk.fsf@gnu.org> <87cz4y6a86.fsf@contorta> <87o7nlwcwn.fsf_-_@gnu.org> <878reprnea.fsf@contorta> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 1 =?UTF-8?Q?Flor=C3=A9al?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Rose X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 20 Apr 2023 12:33:27 +0200 In-Reply-To: <878reprnea.fsf@contorta> (Vagrant Cascadian's message of "Tue, 18 Apr 2023 12:38:53 -0700") Message-ID: <878remvo5k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681987626; a=rsa-sha256; cv=none; b=sWHQV8b5eEwwZRA14bCP161kzLo/v9fMkuFs6j/PgPAj+T7Kbxq40v5Q8TqfhvGVVCuDw1 bvcS2GlMv/8PcDfurdRCRpIMRRWvtAF1e1Df4XFnuu1xG4x91vdpUAGuXCY+TMMnEWdcGT RVkzXIjUyNFeOekIQFBcLtPa4j7F6Y3fzihFhxhHQCwo583SeyVbXJEb2FltfFzpiyFGML vfid5F72LnPfM9Zpe91GbOkqeSj1AuNTLAM5Iy2QOQZXBj4eM673WOU2PFp6W4707A8MS5 Sys6zqJWTiOLodm7/GefXXcw+pMTm3r+86xcAjeFSu1yO0iDd4DQOwqUip1e8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="rE/oAcM0"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681987626; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=npYRHYg8M+njJT9KlC8N2js7zKT21K/tBjaO9lOGuhc=; b=bzFlZrUqZtp7nvGc1Tn3r7TGFwIfQwK3Ft1Ek25adXX/OUMb5gCwZ/DCUS3TqDphnspsvk t3dCKRwGmXLTf0t5RfQkowOZOpdKaRrPo2HD/plmELe/QoPU10BsYn0pKAbbZo4gAxZ5+L vsk4qPEJ8MhaTNHsJJcKGe8153v3ly0OTimjwtAxB4ZX7In1MyZKy0JBfj570Bvntpu3RQ 5DcyudjZ7i8l8cd+fpRKUaCzeaDL3L+VH/J+eMeRWdyOEZV0PcKLXP/JEjxe/+V72rjqHB FbzCLyQgCD7P2dALNVOvJDbBZJfgqNtmxR0dRsfPLj2m0GyMhUDNCf0CMWsUUg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.61 X-Spam-Score: -2.61 X-Migadu-Queue-Id: DA65F3B52A Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="rE/oAcM0"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: +amk+urVEagp Hi, Vagrant Cascadian skribis: > At least the case I am most familiar with, lcsync, it really should not > run as setuid-root, as that effectively allows anyone to modify or copy > any file as root. Although, likely Hurd limits the impacts of setuid > root in ways I do not understand? There are many more things that can be done on the Hurd without being root. So I don=E2=80=99t know, maybe we can ignore the issue for now and s= imply make sure that the defaults work for the Hurd. > Even then, I still think if you ask for something in your guix system > configuration, and it cannot deliver what you asked for, it should not > give you something else as an approximation of what you wanted. Yeah, you=E2=80=99re right that an approximation could be risky=E2=80=A6 Thanks, Ludo=E2=80=99.