From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GNutGI+msV/seQAA0tVLHw (envelope-from ) for ; Sun, 15 Nov 2020 22:07:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oKR+FI+msV9YdAAAbx9fmQ (envelope-from ) for ; Sun, 15 Nov 2020 22:07:11 +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 D70C19404C4 for ; Sun, 15 Nov 2020 22:07:10 +0000 (UTC) Received: from localhost ([::1]:47230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keQAv-0003e4-2A for larch@yhetil.org; Sun, 15 Nov 2020 17:07:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keQAp-0003dt-00 for guix-patches@gnu.org; Sun, 15 Nov 2020 17:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keQAo-0007ry-N6 for guix-patches@gnu.org; Sun, 15 Nov 2020 17:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keQAo-0007No-I3 for guix-patches@gnu.org; Sun, 15 Nov 2020 17:07:02 -0500 Subject: bug#44623: [PATCH] archive: Warn about replacing an ACL symlink. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 15 Nov 2020 22:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44623 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 44623-done@debbugs.gnu.org Mail-Followup-To: 44623@debbugs.gnu.org, me@tobias.gr, me@tobias.gr Received: via spool by 44623-done@debbugs.gnu.org id=D44623.160547799728335 (code D ref 44623); Sun, 15 Nov 2020 22:07:02 +0000 Received: (at 44623-done) by debbugs.gnu.org; 15 Nov 2020 22:06:37 +0000 Received: from localhost ([127.0.0.1]:54456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keQAO-0007Mv-Ac for submit@debbugs.gnu.org; Sun, 15 Nov 2020 17:06:37 -0500 Received: from tobias.gr ([80.241.217.52]:42050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keQA7-0007MT-Kx for 44623-done@debbugs.gnu.org; Sun, 15 Nov 2020 17:06:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=VnPxeV6Y4WgrGrCnxfpPK3lMOeUYld6SMa8ShK6MKJo=; h=date:in-reply-to: references:subject:cc:to:from; b=UApYB9CWUvuWORbxi/WtCpK6aHMRYudLVMLT4 ALI7DIiLWR9ngZ3WpkA9hkKZM4zHlH6c6gAmeYqhjcFK3jV75i90q9k+/pb92Y4A1NAcv4 e+ZQ8FqY9W98w7RJWRXXywigF6FlF0VJwMWfGQJJJGlvF6TTWgPgPxVQ37YJxA2FZzm/5I b1GzHmCCOE8Q/KmKjhggzkba0meoVwmc9Zqgle5LGqOdLaoxe8LK37njDZgSDi9YNnQirn SNNsx4gHKh6IiMhu4m9iaqL3Np/84eqnThjpACJDsqQMP8h5/UNmx45VYC+AHTuKYm145n UisvrhBQW/Qo2/Ojyls474jrQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id d6d12f22 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sun, 15 Nov 2020 22:06:23 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; References: <20201113202041.2447-1-me@tobias.gr> <871rgu73ae.fsf@gnu.org> In-reply-to: <871rgu73ae.fsf@gnu.org> Date: Sun, 15 Nov 2020 23:06:16 +0100 Message-ID: <87zh3iwa07.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=tobias.gr header.s=2018 header.b=UApYB9CW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: j879cHSAULSm --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s =E5=86=99=E9=81=93=EF=BC=9A > Tobias Geerinckx-Rice skribis: > >> * guix/scripts/archive.scm (authorize-key): Warn when %ACL-FILE=20 >> is a >> symbolic link and print an additional hint for Guix System=20 >> users. > > Oh, I was convinced that =E2=80=98guix archive --authorize=E2=80=99 would= now=20 > fail on > Guix System, but indeed it doesn=E2=80=99t, due to the canonical rename=20 > trick. I don't want it to fail. Just today I used =E2=80=98guix archive --authorize=E2=80=99 so =E2=80=98gu= ix system=20 reconfigure=E2=80=99 (to add the key!) wouldn't take all day. Killer=20 feature! > You can do both at once (thus avoiding a TOCTTOU race) with: That is significantly better. Pushed as=20 5d15733c426d232e98098d99a5bfe145586609a4. Thank you! T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX7GmWA0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW151zMBAPZjPvB4UCkf3psUc8G6iP/+QVFDu2gIC6Enuvr7 ZXC7AQDXlcaseiWWNVJ8PgsFcPsguSyGP1WXUtDABAiQW6nODg== =Mp8s -----END PGP SIGNATURE----- --=-=-=--