From ea53f9527f82e32a4b7e37a88d3a200263eb2e47 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Mon, 17 Aug 2015 16:06:13 -0500 Subject: [PATCH] task.ansible: set the ansible_failure.yaml file mode to 0664 The failure log was originally created with mode 0600 which does not allow apache to serve the file. This changes the mode to 0664 to match the rest of the archived files from a teuthology job. Signed-off-by: Andrew Schoen --- teuthology/task/ansible.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/task/ansible.py b/teuthology/task/ansible.py index e4f14695f2..b94efecd75 100644 --- a/teuthology/task/ansible.py +++ b/teuthology/task/ansible.py @@ -288,6 +288,7 @@ class Ansible(Task): self.failure_log.name, archive_path ) + os.chmod(archive_path, 0664) def _build_args(self): """ -- 2.39.5