[cubicweb/uwsgi] fix permissions recurse
authorArthur Lutz <arthur.lutz@logilab.fr>
Thu, 08 Dec 2016 11:18:42 +0100
changeset 99 5020bcb8838c
parent 98 fa2bd89a7e61
child 100 6e900481b0d2
[cubicweb/uwsgi] fix permissions recurse
cubicweb/uwsgi/init.sls
--- a/cubicweb/uwsgi/init.sls	Tue Nov 29 16:36:47 2016 +0100
+++ b/cubicweb/uwsgi/init.sls	Thu Dec 08 11:18:42 2016 +0100
@@ -39,10 +39,13 @@
     - group: www-data
     - mode: "0750"
 
-/var/lib/cubicweb/instances/{{ name }}/uicache:
+/var/lib/cubicweb/instances/{{ name }}:
   file.directory:
     - user: www-data
     - group: www-data
+    - recurse:
+      - user
+      - group
   {% endfor %}
 {% endfor %}