pypa/pip — Issue #412: Pip should create pip.log with user permissions when called with sudo
Author: brickZA
Created: 2011-12-20 08:26:21+00:00
State: open

When calling pip with sudo, it creates a $HOME/.pip/pip.log file in the user's directory that is owned by root. This means that a user can't delete the log file without becoming root, and it also means that invocations of pip without sudo can't append or overwrite the low.