pip install, permission problem

Discussion in 'Python' started by Jabba Laci, Mar 16, 2011.

  1. Jabba Laci

    Jabba Laci Guest

    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
     
    Jabba Laci, Mar 16, 2011
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Phlip
    Replies:
    2
    Views:
    11,720
    Wolodja Wentland
    Nov 16, 2009
  2. Andrei
    Replies:
    1
    Views:
    232
    Andrei
    Aug 25, 2011
  3. Jabba Laci
    Replies:
    1
    Views:
    1,309
    alex23
    Sep 27, 2011
  4. Peng Yu
    Replies:
    3
    Views:
    346
    Ned Deily
    Oct 18, 2012
  5. Replies:
    0
    Views:
    126
Loading...

Share This Page