9front - general discussion about 9front
 help / color / mirror / Atom feed
From: kvik@a-b.xyz
To: 9front@9front.org
Subject: Re: [9front] inconsistencies after a sysupdate
Date: Mon, 05 Jul 2021 01:53:34 +0200	[thread overview]
Message-ID: <CC420C7D5BDEA533A11DF01E676FAA8C@qak> (raw)
In-Reply-To: <874C070E5393B7D02BE9121F6E10F268@eigenstate.org>

> For anyone else that runs into permission
> errors when sysupdating:
> 
> 	chmod g+w /path/to/files
> 	git/revert /path/to/files
> 
> and make sure you update git:
> 
> 	cd /sys/src/cmd/git && mk install

Got hit by this issue as well.

Make doubly sure that you have an actually updated git before trying
git/revert following the above instructions:

	git/revert /sys/src/cmd/git
	mk install

To help find the files that need fixing you can use the following:

	fn fucked {walk -fexp $1 | grep '^..rw.r-' | awk '{print $2}'}


      reply	other threads:[~2021-07-05 18:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-28 17:18 Xiao-Yong Jin
2021-06-28 18:33 ` ori
2021-06-28 18:57   ` Xiao-Yong Jin
2021-06-30  0:47     ` ori
2021-07-04 23:53       ` kvik [this message]

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

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

  git send-email \
    --in-reply-to=CC420C7D5BDEA533A11DF01E676FAA8C@qak \
    --to=kvik@a-b.xyz \
    --cc=9front@9front.org \
    /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 NNTP newsgroup(s).