chmod 0750 /var/log/neutron/
chown -R root:neutron /etc/neutron/
- chmod 0750 /etc/neutron/
+ # NOTE(jamespage): In order to execute unit test in decomposed
+ # vendor drivers, /etc/neutron must be readable
+ # other than by root or neutron; limitation of
+ # access to neutron.conf is sufficient as this
+ # file contains access details for DB, keystone
+ # and message bus.
+ chmod 0755 /etc/neutron/
+ chmod -f 0640 /etc/neutron/neutron.conf || :
chown root:root /etc/neutron/rootwrap.conf
chown -R root:root /etc/neutron/rootwrap.d
chmod 0755 /etc/neutron/rootwrap.d