pip install, permission problem

J

Jabba Laci

Hi,

I'm trying to install a pypi package with pip. The installation is
done, but the permissions are not set correctly, thus I cannot import
it as a normal user.
Example:
sudo pip install termcolor
/usr/local/lib/python2.6/dist-packages/termcolor.py is created with
permissions 600

I can post-correct it manually, but there is something wrong going on
here... I have a hint but I'm not sure: as a normal user, I have
"umask 077" in my .bashrc. When I do sudo, maybe this setting is
inherited? But even if it's the case, pip install should change the
permissions correctly IMO.

Laszlo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top