When I try to build with sphinx after sudo port upgrade outdated
at one time, I get angry. The end of the error statement looks like this:
IOError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/httplib2-0.8-py2.7.egg/EGG-INFO/top_level.txt'
The problem is that the permissions on this file called top_level.txt
-rw-r----- 1 root wheel 9B Feb 13 12:55 top_level.txt
It is said that it is useless because it is.
sudo chmod a+r /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/httplib2-0.8-py2.7.egg/EGG-INFO/top_level.txt
When I opened permission and raised it, the error disappeared. It is still unknown why this is happening.