Description of problem: using 'sudo python-pip' to install packages results in incorrect permissions (no permissions for 'other') in the system directory, which means packages must often be manually assigned permissions to be able to use them (to import psychopy for example). all python packages are installed with owner:group=root:root so the 'r' bit of other needs to be added (and the 'x' bit of other for directories) i have installed python-pip normally with 'sudo yum install python-pip' Version-Release number of selected component: python-pip-1.2.1-2.fc18 Additional info: cmdline: /usr/bin/python /bin/python-pip install -U pip dso_list: python-setuptools-0.6.28-3.fc18.noarch executable: /bin/python-pip kernel: 3.8.3-201.fc18.i686 uid: 1000 Truncated backtrace: pkg_resources.py:1320:_get:IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/PsychoPy-1.76.00-py2.7.egg-info/top_level.txt' Traceback (most recent call last): File "/bin/python-pip", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2835, in <module> add_activation_listener(lambda dist: dist.activate()) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 704, in subscribe callback(dist) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2835, in <lambda> add_activation_listener(lambda dist: dist.activate()) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2259, in activate self.insert_on(path) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2366, in insert_on self.check_version_conflict() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2405, in check_version_conflict for modname in self._get_metadata('top_level.txt'): File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2253, in _get_metadata for line in self.get_metadata_lines(name): File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1213, in get_metadata_lines return yield_lines(self.get_metadata(name)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1205, in get_metadata return self._get(self._fn(self.egg_info,name)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1320, in _get stream = open(path, 'rb') IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/PsychoPy-1.76.00-py2.7.egg-info/top_level.txt' Local variables in innermost frame: path: '/usr/lib/python2.7/site-packages/PsychoPy-1.76.00-py2.7.egg-info/top_level.txt' self: <pkg_resources.PathMetadata instance at 0xb749914c>
Created attachment 712815 [details] File: backtrace
Created attachment 712817 [details] File: core_backtrace
Created attachment 712819 [details] File: environ
This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.