[meta-virtualization] [m-c-s][PATCH 46/49] python-oauthlib: allow apache to read requires.txt

Mark Asselstine mark.asselstine at windriver.com
Wed Feb 3 17:41:41 PST 2016


Apache will error with:

IOError: [Errno 13] Permission denied: \
'/usr/lib/python2.7/site-packages/oauthlib-0.7.2-py2.7.egg-info/requires.txt'

when attempting to login to horizon. Set more permissive permissions
for this file to avoid this.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb b/meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb
index 01c2ac2..c8a9147 100644
--- a/meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb
@@ -27,7 +27,7 @@ RDEPENDS_${PN} += " \
         "
 
 do_install_append() {
-        perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt"`
+        perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt" -o -name "requires.txt"`
         for f in $perm_files; do
                 chmod 644 "${f}"
         done
-- 
2.1.4



More information about the meta-virtualization mailing list