From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kLhOCdrx2mZZEgEA62LTzQ:P1 (envelope-from ) for ; Fri, 06 Sep 2024 12:13:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kLhOCdrx2mZZEgEA62LTzQ (envelope-from ) for ; Fri, 06 Sep 2024 14:13:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kmtiQ+Tn; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mpLk6bgl; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725624793; 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-to: 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=PWhvfz+mCWrpVOFknXTV44cIul8bkutAViVBEJV7vtQ=; b=uIjPi5l/F23gs3EAZUnAyTvA6Uuc2amU2oImdvQkTP9QcKPkTBTCyMunBgRbcgwWeoizrR tj3VTJ13jUX3H1n7j3uWsU/6apIuElTPUXbk14KUX+g8y6+ltW5+8HIhagCG6pK/eAHPhk pSdb94M6XkzlIEAcFugoWVHN3pyH9euFDtvZgLb+yKlQrkDKmYDr6EWv6/V5TBEpxZQJRo caFHuVk6fDv5AFsk0pCUh9f1BFI0I240nVk3JNapScQMv7at+FDO/6wDXO3/xTxZWXTDvy RwicefFtt820d+1B5mQaSbfV7lOwOnFkgt4F4EnqKuXyEnwyogNyRILB8e4N2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kmtiQ+Tn; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mpLk6bgl; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725624793; a=rsa-sha256; cv=none; b=trTZV9yyUzmg45zecblEHA/QC/wrNbWZOHqTV4BE3n4PgfYoO2083yoj7pCZG/AGF9a/Pd M7D0pmo86lDw93JTpERdRT1HSUVz0ly6jzkibpI8FEi5kjxpg1OUAEP6AKWfIy4+NMo74B 3Mt/EzhFg2vEVql7Z14qW7uJTW2OVG7dClCxTRYI7NiPeWgbfMWbKeLejZNb5dMQJErmRW 20KN3oVvZUaSAsvmZW5naextfGYexR7WoDIlWnXfQxwCm9HpIQdcfXZImN0f+zRNozE9HA Jk07cnR0wE+O5k+ycoht4MhtETDUqs9o6ut0PrD93tnAlqAyvUaviMG7X9RbqQ== 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 DF825F623 for ; Fri, 6 Sep 2024 14:13:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smXCN-0006dD-Ga; Fri, 06 Sep 2024 07:32:19 -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 1smXCH-0006HT-JJ for bug-guix@gnu.org; Fri, 06 Sep 2024 07:32:14 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smXC8-0001fs-Bp for bug-guix@gnu.org; Fri, 06 Sep 2024 07:32:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=PWhvfz+mCWrpVOFknXTV44cIul8bkutAViVBEJV7vtQ=; b=kmtiQ+Tnp4xe+G0dTBtRDajXynzBftR+rR3epTMHoq7jTZV709Nv00GJ3rVMqaB/y8y7skTbsTer7Z8YaKIK935J7JachXyeJywZ4M/2R02ui0gDZSNuIlzn+VjkH/ezz4OuEqGmjaKDrqFn6mGt+jARnrrWhecdbbbL64SidQ3++gX/r5OGGTXBFEHVaaNKggU/JNwFBSkxPcACIgA/21MSkEKlQjSlOj3mMif/VK0CRP8Zx1xI0Y2+oHVlxIaQvTAWN36z+bKTeEPYwMoMLuWKiGUdaCoxI4mdOqCvfx5rNNr30BDouLVRBUMvG3XrZ6j/K2ScG7DtKGGF25h3NA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smXC7-0000ba-IQ for bug-guix@gnu.org; Fri, 06 Sep 2024 07:32:03 -0400 Subject: bug#47584: Race condition in =?UTF-8?Q?=E2=80=98copy-account-skeletons=E2=80=99:?= possible privilege escalation. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 06 Sep 2024 11:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47584 X-GNU-PR-Package: guix X-GNU-PR-Keywords: security patch To: Maxime Devos Cc: 47584-done@debbugs.gnu.org Mail-Followup-To: 47584@debbugs.gnu.org, ludo@gnu.org, maximedevos@telenet.be Received: via spool by 47584-done@debbugs.gnu.org id=D47584.17256223092289 (code D ref 47584); Fri, 06 Sep 2024 11:32:03 +0000 Received: (at 47584-done) by debbugs.gnu.org; 6 Sep 2024 11:31:49 +0000 Received: from localhost ([127.0.0.1]:52253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smXBt-0000an-1M for submit@debbugs.gnu.org; Fri, 06 Sep 2024 07:31:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smXBr-0000aN-Ej for 47584-done@debbugs.gnu.org; Fri, 06 Sep 2024 07:31:47 -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 1smVbG-0007QU-OS; Fri, 06 Sep 2024 05:49:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=PWhvfz+mCWrpVOFknXTV44cIul8bkutAViVBEJV7vtQ=; b=mpLk6bglRQWWpPdvBm1n kQ5h8X0Qm6nOAkiaJ8UHXnK9+ZOrYqtqb5pJl6X4GFKq5kA6mlLSZLnuFqfl9gYfZtyN6AYHkC1Rr mMGTD9JXHaPBn4wZ/lVjYQLJCbrW5sNpbTx/+FB+XRgXTyWm9WJiT6gMPzEFiWkrMgWc4JtbBA+mD wQZTWHRlAz5uN0C4ba/VZvur+jfx4mUtZMRndN9VQAvASezOr4qHRzCXOCi6UW6XvbxrDkWWZjDBO 1iLBivvSVkeV6FXch2WKAdP8nozsXyooOXsE0bA9hH6BVfrQHVxnxwQJqbGdnEMIutX5qvOSXlxl+ z144zli/Yf+LIw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <20221028160409.31887-3-maximedevos@telenet.be> (Maxime Devos's message of "Fri, 28 Oct 2022 18:04:09 +0200") References: <20221028160409.31887-1-maximedevos@telenet.be> <20221028160409.31887-3-maximedevos@telenet.be> Date: Fri, 06 Sep 2024 11:49:46 +0200 Message-ID: <87jzfpyuv9.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.09 X-Migadu-Queue-Id: DF825F623 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.09 X-TUID: UkTzW+c6pFNX Hello, Maxime Devos skribis: > I removed the 'Based upon mkdir-p from (guix build utils)' > comment because it's quite a bit different now. > > * gnu/build/activation.scm (verify-not-symbolic): Delete. > (mkdir-p/perms): Rewrite in terms of 'openat'. Finally pushed as c1283e203995c8d84584e701b965efe086d1d666, now that Guile 3.0.9 with the *at family of procedures is the default (and has been for a while, actually). Great work both in Guile upstream and in Guix here. Ludo=E2=80=99.