From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iCEUHxpX7mKQbQAAbAwnHQ (envelope-from ) for ; Sat, 06 Aug 2022 13:57:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eE0hHhpX7mIr5gAAG6o9tA (envelope-from ) for ; Sat, 06 Aug 2022 13:57:14 +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 4E5A116987 for ; Sat, 6 Aug 2022 13:57:14 +0200 (CEST) Received: from localhost ([::1]:58818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKIQb-0001pu-Hh for larch@yhetil.org; Sat, 06 Aug 2022 07:57:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKIQQ-0001pe-Bx for guix-patches@gnu.org; Sat, 06 Aug 2022 07:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKIQQ-00039f-3C for guix-patches@gnu.org; Sat, 06 Aug 2022 07:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKIQP-0005rN-Vf for guix-patches@gnu.org; Sat, 06 Aug 2022 07:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57016] [PATCH] scripts: Bail out when running pull/package commands as root. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Aug 2022 11:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57016 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Maxime Devos" , <57016@debbugs.gnu.org> Received: via spool by 57016-submit@debbugs.gnu.org id=B57016.165978701722513 (code B ref 57016); Sat, 06 Aug 2022 11:57:01 +0000 Received: (at 57016) by debbugs.gnu.org; 6 Aug 2022 11:56:57 +0000 Received: from localhost ([127.0.0.1]:32912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKIQL-0005r3-0S for submit@debbugs.gnu.org; Sat, 06 Aug 2022 07:56:57 -0400 Received: from knopi.disroot.org ([178.21.23.139]:38744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKIQJ-0005qu-Un for 57016@debbugs.gnu.org; Sat, 06 Aug 2022 07:56:56 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4E34A40DB8; Sat, 6 Aug 2022 13:56:55 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id phxPr_m2NZ49; Sat, 6 Aug 2022 13:56:54 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659787014; bh=0p4iFRBx8+HJEbZyj7qZyVhvRTzz5CV8E8zRkDizuGI=; h=Date:Subject:From:To:References:In-Reply-To; b=IO83ll/O9BHTqCzWEbn7A3m24zg3mPayqltsA8abIXJRVrXqiTIV7Zn3zCNKLXXVr 0mPymoLnfN2n+S01uTTn0fDRNGudaJlZjp8/jS164jK3ZfBlCPzVVCvWwtEmSz2Wv8 f5vkcQi1czFF1FpZrJ2QM8IKC15IzJwJtMfhnhMtz+M6XxSE96VMqATug9HWb+xN6W r2Q1Mu13hUJnJSQwnxkn+rGYHm/Oruu7T9l6WaHd383sMDDoUMy3D7kkVng6dWHZk6 H1QsOiwdStSsjV79ljsnM7wQvtUhL+Sa71/yFu2gl5D9BIQQ5TinB4mljepi/2lzWj PNYFcfc76Gwsw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 06 Aug 2022 12:56:53 +0100 Message-Id: References: <20220806114153.23153-1-paren@disroot.org> <4ae42a10-0c06-a920-e85b-bf9981eab6e1@telenet.be> In-Reply-To: <4ae42a10-0c06-a920-e85b-bf9981eab6e1@telenet.be> 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" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659787034; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iaYgU6JplZ9ARSozQVZxwb9u2iWYjp7JpUG32FmxKfk=; b=WMilSJiSsK5c7lUjJiJ/UfsAOnDh2YkMNoZTY/0dlgWQQjjmUMxdrEAwWy7T+rcjP5Tst8 b6mOt110qIVghJrpDE80YGqZFe5H9gJ0Q9du3H8Die3WpDD89wSWuZPKk/a+G6ZIt51ypR mpZSn81y0zawJMF7cGlv7KQflljG5kNbT1HMvAYWYEqkjbKz2NXIV8bPcQFn/WleJLDCAY /X7Td85PzqCrwz7YOQcxweOgLwYAdl8DYMrPf/VDW79GTiMjyDD55RSoQ1pWOtbLTar2l9 uj7CwbUKR9RfZ73HBYwtpTLS87OpwSVSAt4nxOV3cg4QiqDXOwz7ZD96Gm1B6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659787034; a=rsa-sha256; cv=none; b=WS22Nt7rZ4RDy3iBmRUiSMEYyxPELyJ6rVKU8c/9sf5jydM1sASE1zU8/kI2AxGz9q8ymH j+AGOsovcE/JqqZX6cTwZMOPhUCwVjw9sQvKtRtGQj8GzBxY91QIxzSW8ofqpjHi1cvwS0 ghJuxqxJLMlOJvFC+ox6BvEOVNfHzkWhmWK1DQs43Bm7Qnf+/cfPMcLMbEqYOXPKyH1NB4 8cblNgd8wJWFifKfuLO/PyoasxzqIl7G47E1uuDqJ5p/xFfdkZOulp6xIeaHPHy27YEWfu v0g2f/0y3genjnDlAfAgkKn1dWNdmFwbGMMtV0D2SbWTKAoa/6dfftyO4gmClQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="IO83ll/O"; 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-Migadu-Spam-Score: -2.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="IO83ll/O"; 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-Migadu-Queue-Id: 4E5A116987 X-Spam-Score: -2.39 X-Migadu-Scanner: scn1.migadu.com X-TUID: Fha9a2gMUQ/e On Sat Aug 6, 2022 at 12:47 PM BST, Maxime Devos wrote: > Looks like a nice safety net, but maybe this would better use the 'hint'= =20 > mechanism for consistency in error messages? Done in v2 :) -- (