My question is simple but I couldn't find answers
I need to use
sudo npm install but I need the files installed to have my user's ownership, not root's.
sudo touch a will give me a file owned by root, not by my actual user who's running sudo.
Also, when I do
sudo npm install link_from_github I'm getting permission denied because
git clone. But why
git clone is launched without root permissions if I ran everything in