Permissions incorrect in httplib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-httplib2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The permissions for files installed by httplib and dateutil seem to be incorrect. I compared read permissions across all the dist-packages and they all show "user read" permissions apart from these two. The log of permissions is attached. Forcing a reinstall via Synaptic didn't fix the issue. When running the standard instructions at http://
$ kartograph world.json -o world.svgTraceback (most recent call last):
File "/usr/local/
from pkg_resources import load_entry_point
File "/usr/lib/
add_
File "/usr/lib/
callback(dist)
File "/usr/lib/
add_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
for modname in self._get_
File "/usr/lib/
for line in self.get_
File "/usr/lib/
return yield_lines(
File "/usr/lib/
return self._get(
File "/usr/lib/
stream = open(path, 'rb')
IOError: [Errno 13] Permission denied: '/usr/local/
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: python-httplib2 0.8-2
ProcVersionSign
Uname: Linux 3.11.0-12-generic i686
ApportVersion: 2.12.5-0ubuntu2
Architecture: i386
Date: Thu Oct 17 14:55:44 2013
MarkForUpload: True
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: python-httplib2
UpgradeStatus: No upgrade log present (probably fresh install)
A workaround which resolved the problem for me (but seems like it's crazy I would have to do this) was running the following commands...
cd /usr/local/ lib/python2. 7/dist- packages
sudo chmod a+r httplib2- 0.8-py2. 7.egg/EGG- INFO/* python_ dateutil- 2.1-py2. 7.egg/EGG- INFO/*