From cf4d0c1ca6e6eb1471d8cba708d31990a341ab5b Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 10 Dec 2020 22:18:04 +0100 Subject: [PATCH] bundles/powerdnsadmin: ensure permissions of powerdnsadmin static directory --- bundles/powerdnsadmin/items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/powerdnsadmin/items.py b/bundles/powerdnsadmin/items.py index a298b97..10cd192 100644 --- a/bundles/powerdnsadmin/items.py +++ b/bundles/powerdnsadmin/items.py @@ -57,7 +57,7 @@ actions = { }, 'powerdnsadmin_compile_assets': { 'triggered': True, - 'command': 'cd /opt/powerdnsadmin/src && yarn install --pure-lockfile && FLASK_APP=/opt/powerdnsadmin/src/powerdnsadmin/__init__.py /opt/powerdnsadmin/venv/bin/flask assets build', + 'command': 'cd /opt/powerdnsadmin/src && yarn install --pure-lockfile && FLASK_APP=/opt/powerdnsadmin/src/powerdnsadmin/__init__.py /opt/powerdnsadmin/venv/bin/flask assets build && chown -R powerdnsadmin:powerdnsadmin /opt/powerdnsadmin/src/powerdnsadmin/static/', 'needs': { 'action:powerdnsadmin_install_deps', 'pkg_apt:',