Permission denied to run git in mounted directories [duplicate]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
This question already has an answer here:
Change owner of internal hard drive partition from root to user
4 answers
So I freshly installed Ubuntu 18.04 alongside Windows 10. At installation I mounted C:
and D:
at home/drives/C
- home/drives/D
. I want to keep my working files in D
therefore I am using git there, but every time I try running git status
, git clone
etc, the terminal wants me to use sudo
.
Did I mount the volumes correctly? How can I get rid of the mounted volumes permissions?
dual-boot partitioning mount git 18.04
marked as duplicate by muru, Byte Commander, karel, Eric Carvalho, Fabby Apr 27 at 20:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
0
down vote
favorite
This question already has an answer here:
Change owner of internal hard drive partition from root to user
4 answers
So I freshly installed Ubuntu 18.04 alongside Windows 10. At installation I mounted C:
and D:
at home/drives/C
- home/drives/D
. I want to keep my working files in D
therefore I am using git there, but every time I try running git status
, git clone
etc, the terminal wants me to use sudo
.
Did I mount the volumes correctly? How can I get rid of the mounted volumes permissions?
dual-boot partitioning mount git 18.04
marked as duplicate by muru, Byte Commander, karel, Eric Carvalho, Fabby Apr 27 at 20:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
As its NTFS, it's probably showing root as the owner of those files. See dupe on how to make your user appear as the owner, after which you don't need to usesudo
.
â muru
Apr 27 at 8:56
That dupe helped me. Thank you!
â Huntix
Apr 27 at 9:12
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
Change owner of internal hard drive partition from root to user
4 answers
So I freshly installed Ubuntu 18.04 alongside Windows 10. At installation I mounted C:
and D:
at home/drives/C
- home/drives/D
. I want to keep my working files in D
therefore I am using git there, but every time I try running git status
, git clone
etc, the terminal wants me to use sudo
.
Did I mount the volumes correctly? How can I get rid of the mounted volumes permissions?
dual-boot partitioning mount git 18.04
This question already has an answer here:
Change owner of internal hard drive partition from root to user
4 answers
So I freshly installed Ubuntu 18.04 alongside Windows 10. At installation I mounted C:
and D:
at home/drives/C
- home/drives/D
. I want to keep my working files in D
therefore I am using git there, but every time I try running git status
, git clone
etc, the terminal wants me to use sudo
.
Did I mount the volumes correctly? How can I get rid of the mounted volumes permissions?
This question already has an answer here:
Change owner of internal hard drive partition from root to user
4 answers
dual-boot partitioning mount git 18.04
edited Apr 27 at 11:52
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
47.9k13119227
47.9k13119227
asked Apr 27 at 8:41
![](https://i.stack.imgur.com/CGCKb.jpg?s=32&g=1)
![](https://i.stack.imgur.com/CGCKb.jpg?s=32&g=1)
Huntix
84
84
marked as duplicate by muru, Byte Commander, karel, Eric Carvalho, Fabby Apr 27 at 20:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by muru, Byte Commander, karel, Eric Carvalho, Fabby Apr 27 at 20:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
As its NTFS, it's probably showing root as the owner of those files. See dupe on how to make your user appear as the owner, after which you don't need to usesudo
.
â muru
Apr 27 at 8:56
That dupe helped me. Thank you!
â Huntix
Apr 27 at 9:12
add a comment |Â
As its NTFS, it's probably showing root as the owner of those files. See dupe on how to make your user appear as the owner, after which you don't need to usesudo
.
â muru
Apr 27 at 8:56
That dupe helped me. Thank you!
â Huntix
Apr 27 at 9:12
As its NTFS, it's probably showing root as the owner of those files. See dupe on how to make your user appear as the owner, after which you don't need to use
sudo
.â muru
Apr 27 at 8:56
As its NTFS, it's probably showing root as the owner of those files. See dupe on how to make your user appear as the owner, after which you don't need to use
sudo
.â muru
Apr 27 at 8:56
That dupe helped me. Thank you!
â Huntix
Apr 27 at 9:12
That dupe helped me. Thank you!
â Huntix
Apr 27 at 9:12
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
Try to run as root
You can use this command to run the entire terminal as root
sudo -i
or
sudo su
Enter your password and you can do all commands as root
Thank you :) I am sorry for the easy question but I am fairly new to the OS. Have a nice day.
â Huntix
Apr 27 at 9:12
no problem. have a nice day :)
â Musthu
Apr 28 at 11:02
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Try to run as root
You can use this command to run the entire terminal as root
sudo -i
or
sudo su
Enter your password and you can do all commands as root
Thank you :) I am sorry for the easy question but I am fairly new to the OS. Have a nice day.
â Huntix
Apr 27 at 9:12
no problem. have a nice day :)
â Musthu
Apr 28 at 11:02
add a comment |Â
up vote
0
down vote
accepted
Try to run as root
You can use this command to run the entire terminal as root
sudo -i
or
sudo su
Enter your password and you can do all commands as root
Thank you :) I am sorry for the easy question but I am fairly new to the OS. Have a nice day.
â Huntix
Apr 27 at 9:12
no problem. have a nice day :)
â Musthu
Apr 28 at 11:02
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Try to run as root
You can use this command to run the entire terminal as root
sudo -i
or
sudo su
Enter your password and you can do all commands as root
Try to run as root
You can use this command to run the entire terminal as root
sudo -i
or
sudo su
Enter your password and you can do all commands as root
edited Apr 27 at 8:58
muru
1
1
answered Apr 27 at 8:49
Musthu
609
609
Thank you :) I am sorry for the easy question but I am fairly new to the OS. Have a nice day.
â Huntix
Apr 27 at 9:12
no problem. have a nice day :)
â Musthu
Apr 28 at 11:02
add a comment |Â
Thank you :) I am sorry for the easy question but I am fairly new to the OS. Have a nice day.
â Huntix
Apr 27 at 9:12
no problem. have a nice day :)
â Musthu
Apr 28 at 11:02
Thank you :) I am sorry for the easy question but I am fairly new to the OS. Have a nice day.
â Huntix
Apr 27 at 9:12
Thank you :) I am sorry for the easy question but I am fairly new to the OS. Have a nice day.
â Huntix
Apr 27 at 9:12
no problem. have a nice day :)
â Musthu
Apr 28 at 11:02
no problem. have a nice day :)
â Musthu
Apr 28 at 11:02
add a comment |Â
As its NTFS, it's probably showing root as the owner of those files. See dupe on how to make your user appear as the owner, after which you don't need to use
sudo
.â muru
Apr 27 at 8:56
That dupe helped me. Thank you!
â Huntix
Apr 27 at 9:12