From 0f723c9574746fc40ebb7678dbb6cfe09ec2feb2 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 7 Sep 2017 12:24:04 +0300 Subject: [PATCH] Ensure media store files are owned by the correct user/group after importing (recursively) --- roles/matrix-server/tasks/import_media_store.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/matrix-server/tasks/import_media_store.yml b/roles/matrix-server/tasks/import_media_store.yml index 525a03e5..51d34ec4 100644 --- a/roles/matrix-server/tasks/import_media_store.yml +++ b/roles/matrix-server/tasks/import_media_store.yml @@ -45,6 +45,7 @@ path: "{{ matrix_synapse_media_store_path }}" owner: "{{ matrix_user_username }}" group: "{{ matrix_user_username }}" + recurse: yes - name: Ensure Matrix Synapse is started (if it previously was) service: name="{{ item }}" state=started daemon_reload=yes