From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eEfWABGK1GaBUQAA62LTzQ:P1 (envelope-from ) for ; Sun, 01 Sep 2024 15:36:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eEfWABGK1GaBUQAA62LTzQ (envelope-from ) for ; Sun, 01 Sep 2024 17:36:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=choffee.co.uk header.s=selector2 header.b=MvR5gohg; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725205008; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=V5lr7SC6/29PtOgROPpzcMk8hMp4dnhIgoi8r7M0sdI=; b=NxW1pWRjw3ZMs/LLoEOH2YOMMZCIcCtS4/ff7ihdW1npY3p4kaLkC7CxXF/Ihz0g3I6DRa wzobaMwh/RCbMh5vVdR0fNNx3n+yo49CCCM3yykXtgzb/zX/C2D92aleOZJgZcqsl90XWP XMu2s7iBynjoFuYYbCCCZWIkMcsieHjYayllL+V5sM1yZg3VuordvOXQTbFmvwcwZMuU7x L6Q80KK3KeTSRfJUH5J2KtOlb9SUOU86aQWfc1XnQ5F9MPhrvjcuYjBRDq2OtTeszlCHpM DPixmhWz6gt+wb1eFkRCqCKMv10Ei9Eru0ptiTlSrgn3RLuqxc23vb6KJjFQ0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725205008; a=rsa-sha256; cv=none; b=rGDMCpGzSLGBO1Sy1RUHxPqELK7SKebCOE/cWcxAKsEnNOEk1orDtj9dATsqx68l82qFv+ oaCXu9OMdeocLvZq3RljwitmoVYdU1jbczR06A2kUyM00eRu02BZKK4duIIR6PPXiOXQv1 8t4RTURwaXM1V46HV696NCn0aDeYuDVsYrv1JhpyjUHO2eLoNppQS+0yaG6CqZ+kA0IO1Z Y/5bQLl/zLk4BMGbi7kaP60MyAgjEdhMinSJoCkiBueGLqg+ZQGl0HQupsUAikzaUdx6Dd H/MevUSRP0mxtkrx7dtDowQxXMHzNwSDRGT/FvOaR7hj6HJ+nNLuTZJ5f0dWBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=choffee.co.uk header.s=selector2 header.b=MvR5gohg; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" 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 DBFC71C1BF for ; Sun, 1 Sep 2024 17:36:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sklFN-00005j-Ks; Sun, 01 Sep 2024 10:08:05 -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 1sklFM-00005J-3o for help-guix@gnu.org; Sun, 01 Sep 2024 10:08:04 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sklFK-0000OX-2m for help-guix@gnu.org; Sun, 01 Sep 2024 10:08:03 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1sklFF-00AwrO-NV for help-guix@gnu.org; Sun, 01 Sep 2024 16:07:57 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=choffee.co.uk; s=selector2; h=Content-Type:MIME-Version:Subject:References: In-Reply-To:Message-ID:Cc:From:Date; bh=NwdRXqlt9p52idrrxlfMJXQ9aIqLA5GQeMsmQQbsBO8=; b=MvR5gohg0xb925X15lpLB5SLXQ V3bt94UryJFEhb9MmLNyLgcmNJC5tEgDgNZHgbCWOk36KQrH4uxUWbofbWYJ0BocXeYQBxOBJk49D DSlnRjfLSLFkzEJcaZso4J+kX4onZ03uvb5pVdlDuLFjU7P7RVQEqHvjvmj6bkgA90v32wUIT7x/n EORc9rrWbubMFs/tyHV7lBT6SwZ+8xtd4Uc1HU6YtC7bvy0fRGEcHC3/R9PNNBjxg0Rv/NyP68KXJ Isj6WjhiC2UoAQu+Rzxv+IPirkwckknCTlXRqO4dSKtcSexSPhX05+8vVS3HYash7C+Jl7IvYBMaA XlGZSuvQ==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1sklFD-0005xN-Ty for help-guix@gnu.org; Sun, 01 Sep 2024 16:07:56 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (1098465)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1sklEz-00Fj2R-CY for help-guix@gnu.org; Sun, 01 Sep 2024 16:07:42 +0200 Date: Sun, 1 Sep 2024 15:07:38 +0100 (GMT+01:00) Cc: help-guix@gnu.org Message-ID: In-Reply-To: <9059FCAD-4F1B-4863-A496-56386B908A60@tobias.gr> References: <9059FCAD-4F1B-4863-A496-56386B908A60@tobias.gr> Subject: Re: Fixing git permissions after sudo guix pull MIME-Version: 1.0 X-Correlation-ID: Received-SPF: pass client-ip=2a0c:5a00:149::25; envelope-from=john@choffee.co.uk; helo=mailtransmit04.runbox.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: John From: John via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: DBFC71C1BF X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.08 X-Spam-Score: -5.08 X-TUID: jXIBpCm2QiMM Hi Tobias, Moving .cache/guix out the way seems to have fixed things. There was nothin= g in there that was not owned by me so the sudo was a bit of a red herring.= Doing a git fsck on the old cache dir does show a broken pack file as you = suggested so it's something getting corrupted which is slightly more worryi= ng. Not sure there is any way to track down when that happened. As a side note. Running "sudo guix pull" does not bail out with the error i= n the patch you showed so I'm not sure if there is something else going on = there. Thanks for your help John 1 Sept 2024 13:51:50 Tobias Geerinckx-Rice : > Hi John, >=20 > I thought that any modern 'guix pull' would protect[0] itself from accide= ntal sudoage.=C2=A0 Perhaps the check's a little naive.=C2=A0 Or there's so= me subtler effect of using sudo... >=20 > How confident are you that the ownership is incorrect?=C2=A0 The only "in= correct data check" error string I could find was in zlib, which would poin= t to pack file corruption more than incorrect ownership. >=20 > Guix's git checkouts are stashed in ~/.cache/guix/checkouts.=C2=A0 As the= name implies you can safely delete it or even the entire 'guix' directory,= at the expense of subsequent downloads & computation. >=20 > You could also rename it for later investigation, but I'm unable to volun= teer for that myself.=C2=A0 Don't feel obliged. >=20 > [0]: https://git.savannah.gnu.org/cgit/guix.git/commit/guix/scripts/pull.= scm?id=3D7c52cad0464175370c44bd4695e4c01a62b8268f >=20 >=20 > Kind regards, >=20 > T G-R >=20 > Sent on the go.=C2=A0 Excuse or enjoy my brevity.