From 531b87d8700223c7e1257246fcc832852f2e2f2b Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Mon, 13 Aug 2018 12:06:31 -0500 Subject: [PATCH] Update permissions on execution path folders The execution and configuration path are being craeted by the role and if the role is the first to create the the permissions will be 750 and could restrict other services, like nova, from starting. This change updates the permissions to 755 which will ensure normal read and execution permissions are set. Change-Id: I2d6e533392447a8096b7c5cd5ca453c78c65d1ab Signed-off-by: Kevin Carter --- tasks/neutron_pre_install.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/neutron_pre_install.yml b/tasks/neutron_pre_install.yml index f9a5474c..22348c84 100644 --- a/tasks/neutron_pre_install.yml +++ b/tasks/neutron_pre_install.yml @@ -56,8 +56,8 @@ src: "{{ item.src | default(omit) }}" dest: "{{ item.dest | default(omit) }}" state: "{{ item.state | default('directory') }}" - owner: "{{ item.owner|default(neutron_system_user_name) }}" - group: "{{ item.group|default(neutron_system_group_name) }}" + owner: "{{ item.owner | default(neutron_system_user_name) }}" + group: "{{ item.group | default(neutron_system_group_name) }}" mode: "{{ item.mode | default(omit) }}" force: "{{ item.force | default(omit) }}" when: @@ -67,7 +67,7 @@ owner: "root" group: "root" - path: "{{ (neutron_install_method == 'distro') | ternary(neutron_conf_dir, (neutron_bin | dirname) + '/etc/neutron') }}" - mode: "0750" + mode: "0755" # NOTE(cloudnull): The "src" path is relative. This ensures all files remain # within the host/container confines when connecting to # them using the connection plugin or the root filesystem.