]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixed /var/lib/neutron/dhcp folder rights for Ubuntu.
authorThomas Goirand <thomas@goirand.fr>
Fri, 13 Dec 2013 16:44:39 +0000 (00:44 +0800)
committerThomas Goirand <thomas@goirand.fr>
Fri, 13 Dec 2013 16:48:45 +0000 (00:48 +0800)
Change-Id: I3125b6e5bbb93184a7e399b3b8a5bfa4fd9e979d

debian/changelog
debian/neutron-common.postinst.in

index 5ad3550cb4eb7096521d0b96bfeb2a3d2ce2acc8..9df23fa387effb0250e399caeb596c600d7f1c87 100644 (file)
@@ -1,3 +1,9 @@
+neutron (2014.1~b1-2) UNRELEASED; urgency=low
+
+  * Fixed /var/lib/neutron/dhcp folder rights for Ubuntu.
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 14 Dec 2013 00:44:19 +0800
+
 neutron (2014.1~b1-1) experimental; urgency=low
 
   * New upstream release (Icehouse beta 1).
index 290efb3f512458cdad574784db7ad1ebb2c6e884..e3aac0b10f77bc3daf5a7989ac81feeaba8f3335 100644 (file)
@@ -118,7 +118,9 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
        chmod 0755 /etc/neutron/rootwrap.d
        if dpkg-vendor --derives-from ubuntu ; then
                mkdir -p /var/lib/neutron/dhcp
-               chown nobody:neutron /var/lib/neutron/dhcp
+               chmod 755 /var/lib/neutron
+               chown neutron:neutron /var/lib/neutron/dhcp
+               chmod 755 /var/lib/neutron/dhcp
        fi
 
        if [ -f /etc/sudoers.d/neutron_sudoers ] ; then