you can change it back by replacing yourGroup with the group of the root user I think. sudo chown :yourGroup -R /path/to/local/repo
so: sudo chown :root -R /path/to/local/repo
Please consider that yay is in the endeavouros repo and this means the guys managing the endeavouros repo have to deal with this. Those people do all their work in their free time without getting paid. So, we should say thank you instead of blaming them.
In the mean time, installing paru-git will work too, it just asks to change the package name from paru to paru-git because of the specified conflict.
When the upstream paru gets the fix, the same conflict detection will set things back to normal.
Edit: a fixed paru is released in the EndeavourOS repo! See my post below.
Thanks. I think I understand “how” it is more a question about “why”.
Does that mean that some unprivileged user alpm downloads a package but root still intall it? And when the download does something bad it will just influence the alpm user? I do not know if I understand this change correctly.