From 6b321051a750011eb04bc5ac3239a546f990dde4 Mon Sep 17 00:00:00 2001 From: zhubingbing <1392607554@qq.com> Date: Fri, 23 Sep 2016 08:25:54 +0000 Subject: [PATCH] change perm and user wsgi file permission change perm 0640 to 0600 change gnocchi user to root, because wsgi config should use root user TrivialFix Change-Id: I474788d4d402aaf085534ea15b554d9c69fb1e56 --- ansible/roles/aodh/templates/aodh-api.json.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/aodh/templates/aodh-api.json.j2 b/ansible/roles/aodh/templates/aodh-api.json.j2 index ced2d1b6d0..fc6b0b0815 100644 --- a/ansible/roles/aodh/templates/aodh-api.json.j2 +++ b/ansible/roles/aodh/templates/aodh-api.json.j2 @@ -7,13 +7,13 @@ "source": "{{ container_config_directory }}/aodh.conf", "dest": "/etc/aodh/aodh.conf", "owner": "aodh", - "perm": "0644" + "perm": "0600" }, { "source": "{{ container_config_directory }}/wsgi-aodh.conf", "dest": "/etc/{{ aodh_dir }}/wsgi-aodh.conf", - "owner": "aodh", - "perm": "0644" + "owner": "root", + "perm": "0600" } ] }