Comment 3 for bug 870097

Revision history for this message
Craig Maloney (craig-decafbad) wrote :

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).