FS#30020 - [python-dateutil] wrong permission for python egg-info files

Attached to Project: Community Packages
Opened by Yichao Yu (yuyichao) - Saturday, 26 May 2012, 04:48 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 03 June 2012, 18:15 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Files /usr/lib/python3.2/site-packages/python_dateutil-2.1-py3.2.egg-info/* in this package have wrong permission (600 instead of 644), which make it impossible to use access this package using `pkg_resources`. As a side effect, this breaks ipython since it use pkg_resources to find and load IPython modules and will quit when pkg_resources is iterating through all modules because of a error

IOError: [Errno 13] Permission denied: '/usr/lib/python3.2/site-packages/python_dateutil-2.1-py3.2.egg-info/top_level.txt'

The correct permission should be 644 and a `chmod a+r` might be necessary to fix it temporarily if it is an upstream bug.


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 03 June 2012, 18:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in -3
Comment by Jelle van der Waa (jelly) - Sunday, 27 May 2012, 09:12 GMT
Woops yeah their setup seems to broke, I will fix it asap!
Comment by Yichao Yu (yuyichao) - Sunday, 27 May 2012, 11:59 GMT
Well, I guess `chmod a+r` is enough (644 will break directories and +x is not really necessary for files~~). all 755 is okay to use though~~~~.

Loading...