unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: help-guix@gnu.org, John <john@choffee.co.uk>
Subject: Re: Fixing git permissions after sudo guix pull
Date: Sun, 01 Sep 2024 12:51:34 +0000	[thread overview]
Message-ID: <9059FCAD-4F1B-4863-A496-56386B908A60@tobias.gr> (raw)
In-Reply-To: <d7a706cc-858f-4c4c-8049-6d66295184ca@choffee.co.uk>

Hi John,

I thought that any modern 'guix pull' would protect[0] itself from accidental sudoage.  Perhaps the check's a little naive.  Or there's some subtler effect of using sudo...

How confident are you that the ownership is incorrect?  The only "incorrect data check" error string I could find was in zlib, which would point to pack file corruption more than incorrect ownership.

Guix's git checkouts are stashed in ~/.cache/guix/checkouts.  As the name implies you can safely delete it or even the entire 'guix' directory, at the expense of subsequent downloads & computation.

You could also rename it for later investigation, but I'm unable to volunteer for that myself.  Don't feel obliged.

[0]: https://git.savannah.gnu.org/cgit/guix.git/commit/guix/scripts/pull.scm?id=7c52cad0464175370c44bd4695e4c01a62b8268f


Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.


  reply	other threads:[~2024-09-01 12:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01 12:15 Fixing git permissions after sudo guix pull John
2024-09-01 12:51 ` Tobias Geerinckx-Rice [this message]
2024-09-01 14:07   ` John via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9059FCAD-4F1B-4863-A496-56386B908A60@tobias.gr \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=john@choffee.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).