From: Andrew Schoen Date: Mon, 17 Aug 2015 21:06:13 +0000 (-0500) Subject: task.ansible: set the ansible_failure.yaml file mode to 0664 X-Git-Tag: 1.1.0~846^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ea53f9527f82e32a4b7e37a88d3a200263eb2e47;p=teuthology.git 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 --- diff --git a/teuthology/task/ansible.py b/teuthology/task/ansible.py index e4f14695f..b94efecd7 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): """