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