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 impossible for someone using the Ubuntu packaged version
of virtualenvwrapper to not source the virtualenvwrapper completion
script as root, and thereby cause the hook.log to become owned by root
when the log file is re-created. You'd either have to disable
completions (which degrades functionality) or stop using the Ubuntu
package (which also degrades functionality).

-- 
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 bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualenvwrapper/+bug/870097/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to