From 3640867368b25635734fccfd9890b54856f34e9e Mon Sep 17 00:00:00 2001 From: claravox Date: Thu, 22 Aug 2024 15:14:00 +0200 Subject: [PATCH] YDA-5915: Adjust apparmor for webdav --- roles/apache/templates/usr.sbin.apache2.j2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/roles/apache/templates/usr.sbin.apache2.j2 b/roles/apache/templates/usr.sbin.apache2.j2 index 1d57bd66..4d5615b1 100644 --- a/roles/apache/templates/usr.sbin.apache2.j2 +++ b/roles/apache/templates/usr.sbin.apache2.j2 @@ -1,5 +1,5 @@ # {{ ansible_managed }} -# Last Modified: Mon Apr 15 16:09:01 2024 +# Last Modified: Thu Aug 22 14:42:18 2024 #include # vim:syntax=apparmor @@ -45,10 +45,11 @@ owner /home/yodadeployment/flask_session/* rw, owner /opt/irods-externals/** mr, owner /run/apache2/apache2.pid rw, + owner /var/lib/davrods/__db.lockdb_locallock rw, + owner /var/lib/davrods/lockdb_locallock rw, owner /var/www/extuser/** r, owner /var/www/extuser/yoda-external-user-service/** m, - owner /var/www/moai/** m, - owner /var/www/moai/** r, + owner /var/www/moai/** mrw, owner /var/www/moai/moai.db wk, owner /var/www/moai/yoda-moai/moai/__pycache__/* w, owner /var/www/webmock/** m,