From: Thomas Goirand Date: Sat, 1 Jun 2013 07:10:16 +0000 (+0800) Subject: Stop doing chown -R, does more selective chown instead. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3212008a32d1de61fee66f92f38403bec0fdbf35;p=openstack-build%2Fhorizon-build.git Stop doing chown -R, does more selective chown instead. Rewritten-From: 446136ce370016c88a5eaf7d4da66fb8607d476c --- diff --git a/xenial/debian/changelog b/xenial/debian/changelog index aee50cb..efc93a5 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -2,6 +2,7 @@ horizon (2013.1.1-3) unstable; urgency=low * Ran wrap-and-sort. * Also rm -rf /var/lib/horizon on purge (Closes: #668760). + * Removed chown -R, does more selective chown instead. -- Thomas Goirand Thu, 30 May 2013 11:23:28 +0800 diff --git a/xenial/debian/openstack-dashboard.postinst b/xenial/debian/openstack-dashboard.postinst index eae51e5..7912cf3 100644 --- a/xenial/debian/openstack-dashboard.postinst +++ b/xenial/debian/openstack-dashboard.postinst @@ -10,12 +10,9 @@ if [ "$1" = "configure" ] ; then mkdir -p /var/lib/openstack-dashboard/static/js mkdir -p /var/lib/openstack-dashboard/static/css - chown -R www-data:www-data /var/lib/openstack-dashboard/static - - #if [ -e /usr/share/openstack-dashboard/openstack_dashboard/static ] ; then - # chown -R www-data:www-data \ - # /usr/share/openstack-dashboard/openstack_dashboard/static - #fi + chown www-data:www-data /var/lib/openstack-dashboard/static + chown www-data:www-data /var/lib/openstack-dashboard/static/css + chown www-data:www-data /var/lib/openstack-dashboard/static/js fi #DEBHELPER#