sudo pip3 install & wrong permissions

Adam Funk a24061 at ducksburg.com
Mon Jan 15 15:51:12 UTC 2018


Hi,

When I install Python packages with `sudo -H pip3 install -U
[packages]`, the files end up readable & executable by root only, so I
have to do `sudo chmod -Rc a+rX /usr/local/lib/python*` afterwards to
make them usable.

What exactly do I need to set to fix this, without compromising normal
security?

Thanks,
Adam





More information about the ubuntu-users mailing list