Horizon will fail when you attempt to open the login page. The error
message will indicate that 'compressor' is not found but the issue is
in fact that apache2 can't access these files/directories as they are
restricted to 'root' only. Looking at other Linux deployments this
change matches the permissions you would find elsewhere and now allows
for proper operation.

Signed-off-by: Mark Asselstine <[email protected]>
---
 .../recipes-devtools/python/python-django-compressor_2.1.bb        | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb 
b/meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb
index c546c85..9d528d9 100644
--- a/meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb
+++ b/meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb
@@ -17,4 +17,11 @@ RDEPENDS_${PN} += " \
         python-rjsmin  \
         "
 
+do_install_append() {
+    # Ensure permisive perms are granted
+    find -L "${D}${PYTHON_SITEPACKAGES_DIR}/compressor" -type f -exec chmod 
644 {} \;
+    find -L "${D}${PYTHON_SITEPACKAGES_DIR}/compressor" -type d -exec chmod 
755 {} \;
+}
+
+
 CLEANBROKEN = "1"
-- 
2.7.4

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

Reply via email to