From 04a8b7918a170c1dfec4194f29ba7070cda6284e Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sat, 14 Dec 2013 00:44:39 +0800 Subject: [PATCH] Fixed /var/lib/neutron/dhcp folder rights for Ubuntu. Change-Id: I3125b6e5bbb93184a7e399b3b8a5bfa4fd9e979d --- debian/changelog | 6 ++++++ debian/neutron-common.postinst.in | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 5ad3550cb..9df23fa38 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +neutron (2014.1~b1-2) UNRELEASED; urgency=low + + * Fixed /var/lib/neutron/dhcp folder rights for Ubuntu. + + -- Thomas Goirand Sat, 14 Dec 2013 00:44:19 +0800 + neutron (2014.1~b1-1) experimental; urgency=low * New upstream release (Icehouse beta 1). diff --git a/debian/neutron-common.postinst.in b/debian/neutron-common.postinst.in index 290efb3f5..e3aac0b10 100644 --- a/debian/neutron-common.postinst.in +++ b/debian/neutron-common.postinst.in @@ -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 -- 2.45.2