From e0c82f9b1a4867056aa334ee53f9eb93982acf48 Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Wed, 3 Feb 2016 20:41:41 -0500 Subject: python-oauthlib: allow apache to read requires.txt 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 Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-openstack/recipes-devtools/python') 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 -- cgit v1.2.3-54-g00ecf