]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Stop doing chown -R, does more selective chown instead.
authorThomas Goirand <thomas@goirand.fr>
Sat, 1 Jun 2013 07:10:16 +0000 (15:10 +0800)
committerThomas Goirand <thomas@goirand.fr>
Sat, 1 Jun 2013 07:10:16 +0000 (15:10 +0800)
Rewritten-From: 446136ce370016c88a5eaf7d4da66fb8607d476c

xenial/debian/changelog
xenial/debian/openstack-dashboard.postinst

index aee50cb702730d8c2e6be18fd78c37143a9af252..efc93a5817c9ace4cd092186f140dfe86c181728 100644 (file)
@@ -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 <zigo@debian.org>  Thu, 30 May 2013 11:23:28 +0800
 
index eae51e55b1b36a99f5e8c386fec37a20299e78dc..7912cf3a8a1e40d0a507213be0716bd5053fb5ac 100644 (file)
@@ -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#