Unfortunately if you use the Ubuntu package, you don't get the benefit
of using what appears to be the solution:
https://bitbucket.org/dhellmann/virtualenvwrapper/issue/62/
That's because the bash_completion.d/virtualenvwrapper script is run for
you, and sets up the environment.
It's currently
this is how sudo works on ubunt, you run as root but retain the users HOME
variable. This can configured in sudo with env_reset, see the manpage.
I don't think there is anything virtualenvwrapper can do about that.
** Changed in: virtualenvwrapper (Ubuntu)
Status: New = Invalid
--
You
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/870097
Title:
Using sudo with virtualenvwrapper causes $HOME/.virtualenvs/hook.log
to have have wrong acces rights
To manage notifications about this