baweaver / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

wrong permissions of psutil shared libraries after pip install on Ubuntu 12.04 #487

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Ubuntu 12.04 LTS Desktop 64bit
2. sudo pip install psutil
3 python
  import psutil

What is the expected output?
no errors

What do you see instead?
ImportError: No module named _psutil_linux

What version of psutil are you using? What Python version?
Latest,  2.7

On what operating system? Is it 32bit or 64bit version?
Ubuntu LTS 12.04 Desktop x64

Please provide any additional information below.
I have found that pip always installs two libraries _psutil_posix.so and 
_psutil_linux.so with wrong permissions root/staff and rwxrwx---

The problem is gone when I manually change permissions for reading by normal 
users 

Original issue reported on code.google.com by vlad.bel...@gmail.com on 25 Mar 2014 at 2:52

GoogleCodeExporter commented 8 years ago
Mmmm... what happens if you install psutil from sources (tar.gz)?

Original comment by g.rodola on 25 Mar 2014 at 2:57