So this is my first attempt at trying to install Django, and when I ran it, it successfully installed Django-1.7.3 but I received these warnings below. I wasn\'t able to find an
These messages are just telling you that after issuing sudo
the current user has changed to root
and root
isn't the owner of those directories or one of the parent directories.
sudo -H
sets the $HOME
environment variable to /root
and would probably hide these but the way you did it is perfectly fine.
I'm pretty sure these messages are nothing to be concerned about, but its always good to see that people are reading them and making sure.
Also, to verify this, you can try:
$ sudo env | less
and
$ sudo -H env | less
and pay attention to the $HOME and $USER variables