atar-axis / xpadneo

Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
https://atar-axis.github.io/xpadneo/
GNU General Public License v3.0
1.88k stars 110 forks source link

Issue with make modules_install #360

Closed Kzimir closed 2 years ago

Kzimir commented 2 years ago

Hi,

It's not an issue with xpadneo itself but with the git repo. I tried more times and i still have the same issue. After to download the git repo, i run :

The issue is with this last command :

Error: fatal: unsafe repository ('/home/kazimir/Projets/xpadneo' is owned by someone else)
To add an exception for this directory, call:

    git config --global --add safe.directory /home/kazimir/Projets/xpadneo
make: *** [Makefile:9 : ../VERSION] Erreur 128
rm ../VERSION

Of course the git config command does not solve the issue.

kakra commented 2 years ago

Checkout the git repository as root, it should work then. This is due to a security update to git. Duplicate of #346

kakra commented 2 years ago

Of course the git config command does not solve the issue.

Well, it does, if you run it with the same permissions as you do for the make command. See https://github.com/atar-axis/xpadneo/commit/d6b35a58f51c75bb2bbd7db0b195edfce52ddaeb