From 6f9ab26f683e4ef9ebf86ac10d8007ffb95dde3b Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Thu, 4 May 2017 10:39:29 +0100 Subject: [PATCH] Fix permission on chrony.conf Chrony drops root to user 'chrony' on startup, so it's config file should be owned by user this user. Change-Id: I8ba976cc685d2e50e09211f67507487a1e0e3c5f --- ansible/roles/chrony/templates/chrony.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/chrony/templates/chrony.json.j2 b/ansible/roles/chrony/templates/chrony.json.j2 index c0875524a6..f082b6d897 100644 --- a/ansible/roles/chrony/templates/chrony.json.j2 +++ b/ansible/roles/chrony/templates/chrony.json.j2 @@ -4,7 +4,7 @@ { "source": "{{ container_config_directory }}/chrony.conf", "dest": "/etc/chrony/chrony.conf", - "owner": "root", + "owner": "chrony", "perm": "0644" } ]