]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixed unix rights of /var/lib/neutron in the metadata-agent postinst.
authorThomas Goirand <thomas@goirand.fr>
Thu, 3 Jul 2014 09:29:20 +0000 (17:29 +0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 3 Jul 2014 09:30:07 +0000 (17:30 +0800)
(cherry picked from commit 79e9b58138e35a600d44f71e193f533773f37bca)

Rewritten-From: c48ee7fbf86179a9f5977b33238febce077b23b6

xenial/debian/neutron-metadata-agent.postinst.in

index 59d5e4b5490f05da135b5b8d60eff2a0295c99d6..77b040d260b6aeec32787ae0801fcb6e849e3783 100644 (file)
@@ -16,6 +16,7 @@ manage_metadata_region () {
 if [ "${1}" = "configure" ] ; then
        . /usr/share/debconf/confmodule
        pkgos_var_user_group neutron
+       chmod 755 /var/lib/neutron
 
        if [ ! -e ${CONF_FILE} ] ; then
                install -D -m 0640 -o neutron -g neutron /usr/share/neutron-metadata-agent/metadata_agent.ini ${CONF_FILE}