Skip to content

Can't run git clone without sudo #1850

Answered by abraunegg
g1sbi asked this question in Q&A
Discussion options

You must be logged in to vote

@Gisbitus
Running git clone .... as a standard user should be possible - I do not know why you cant run this .. 'git' is a 'user-space' binary and does not need 'root privileges' to run .. and on my test system - I can run 'git' without sudo - which is 100% normal:

Welcome to Pop!_OS 21.10 (GNU/Linux 5.15.8-76051508-generic x86_64)

 * Homepage: https://pop.system76.com
 * Support:  https://support.system76.com

Last login: Mon Feb 21 07:01:16 2022 from 172.16.16.212
alex@pop-os:~$ git clone https://github.com/abraunegg/onedrive.git
Cloning into 'onedrive'...
remote: Enumerating objects: 5423, done.
remote: Counting objects: 100% (758/758), done.
remote: Compressing objects: 100% (390/39…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abraunegg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants