From a826cb4f9655ab8b994c4da258835f5f6ddb5a5f Mon Sep 17 00:00:00 2001 From: Vincas Dargis Date: Tue, 14 Aug 2018 20:49:31 +0300 Subject: apparmor: fix access to /etc/xml/catalog Exporting document to .xhtml produces AppArmor deny log entry. Add AppArmor rule for accessing /etc/xml/catalog as it is needed by libxml2. Change-Id: If62046059c4e1d458cca895f14f7d1e3f537c527 Reviewed-on: https://gerrit.libreoffice.org/59005 Tested-by: Jenkins Reviewed-by: Rene Engelhard --- sysui/desktop/apparmor/program.soffice.bin | 1 + 1 file changed, 1 insertion(+) (limited to 'sysui/desktop') diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin index 642548420f5b..45252291938e 100644 --- a/sysui/desktop/apparmor/program.soffice.bin +++ b/sysui/desktop/apparmor/program.soffice.bin @@ -107,6 +107,7 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin { /etc/libreoffice/** r, /etc/cups/ppd/*.ppd r, + /etc/xml/catalog r, #exporting to .xhtml, for libxml2 /proc/*/status r, owner @{HOME}/.config/libreoffice{,dev}/** rwk, -- cgit