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 <[email protected]>
---
 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

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to