From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iPeuMIFV7mJyRgAAbAwnHQ (envelope-from ) for ; Sat, 06 Aug 2022 13:50:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SLS0MIFV7mI+/wAA9RJhRA (envelope-from ) for ; Sat, 06 Aug 2022 13:50:25 +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 9DF231CE16 for ; Sat, 6 Aug 2022 13:50:25 +0200 (CEST) Received: from localhost ([::1]:57696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKIK0-0000eY-H6 for larch@yhetil.org; Sat, 06 Aug 2022 07:50:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKIJf-0000I3-1Q for guix-patches@gnu.org; Sat, 06 Aug 2022 07:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKIJe-0001wL-PI for guix-patches@gnu.org; Sat, 06 Aug 2022 07:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKIJe-0005g4-Lg for guix-patches@gnu.org; Sat, 06 Aug 2022 07:50: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:50:02 +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.165978654221703 (code B ref 57016); Sat, 06 Aug 2022 11:50:02 +0000 Received: (at 57016) by debbugs.gnu.org; 6 Aug 2022 11:49:02 +0000 Received: from localhost ([127.0.0.1]:32896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKIIf-0005dw-O9 for submit@debbugs.gnu.org; Sat, 06 Aug 2022 07:49:02 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKIId-0005dj-FC for 57016@debbugs.gnu.org; Sat, 06 Aug 2022 07:48:59 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CC1D940DCB; Sat, 6 Aug 2022 13:48:58 +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 dq3QyPgKyyEW; Sat, 6 Aug 2022 13:48:57 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659786537; bh=hpCAtVnj5L1WdeKhpw9wyblx1Sv/YF8IzA0sFA5qkRU=; h=Date:From:To:Subject:References:In-Reply-To; b=iyUelY0XpocB/9+PFp7nf5TRaUtot/Meosli18N+3dzFu7Xwo6O3yhhyDktWZYNT3 Czq4wpMnHcloZy9KUj0JeDFB66Lv8gumoW/NWlyEomMB8wnApLxJdKkYXvfeCNRcr6 NW0x6WmqBH4Os9miSyhrdqxf8YX5UVQ69NMHP3ZZeWWRDgF5ywep6LS4VLOSqSwcoy ukQqZXkC0GuTa1c4s3kTN6BhhEc/GRH/zygOUm/uPbGAEQby3ll3aTVxM+kPT/pq0+ G84a0mUqpx35gtsqLHYzLbnfr3/4UuUNj6dki9bb65TJ6P4+lt2RH40D2rbqP6qCad eQPk3PrF4qJvQ== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 06 Aug 2022 12:48:57 +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=1659786625; 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=81uuTVmBb9FmqNGVYTF7wvD9Bae1IOr5cL+6bTt1E8s=; b=YVI/51CPMi3YDVrI4kN2ClhfMH6VjuBa9N5/KygGcxn+99slNN6IItrQmsuuyRvNfls7S8 dzCrL6sJ5WqQm0qvIQTFdVZAZ5k03wa8zXu8/gVPXsdxJLprQzdyH0NZaQGk/aVAWE2XvA Op42ksKQB4ZCuJnnb9JvWcL81xYNK9pAehNyPox5ddDNisnc8eBRSf/xm8ywU/Br5iadi/ 8BWIgUfRDVpuwG+3MjKwLOu0yICmcQX8sha92MWPFN1xteIhClZTc+TkEpZg/LWjynCicx ZTvH5aiiOp0vSRhgg9iqRaM7BA/LvyEIB1am45m9Enjl7F54H2D8UUJYbpbiwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659786625; a=rsa-sha256; cv=none; b=UdvT9lsL45eYiJyRb7EAR1G0AtlquXtz5xAP8LjBbNcwvt73xOFy2I5oy85Zx+cyMGlT8m NtWMR0adgGR0/u8816dlU8Ifk1Gab8hIiUiINIxkKAPGoy5JBo+eFOuQiw+nITC5nG6vEN kWsYyGVsofq6L4dzSpgpS+6XBzdkPClp/UI5SIv4zd1TvBZnibJPOMeihHpmUHNyHhrV7B 2a5cQ+6nP7+JX3sXS4szVjrP+BrGALdMxkfmoF7kZiw6A3eINUgkDPy054KQ8ogEydffAZ eatSL77dU1lDgwztVs/NyjInp9jEdYSC2ul9wVvbvcZC+KpAip2SWSPJTcr+DQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=iyUelY0X; 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: -3.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=iyUelY0X; 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: 9DF231CE16 X-Spam-Score: -3.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: t653f2frknwO 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? Thanks for the tip, I'll take a look at `hint`. -- (