summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincas Dargis <vindrg@gmail.com>2018-08-14 20:49:31 +0300
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-15 16:40:16 +0200
commite83a535776f8337a09c8d582ac484b3b027728a3 (patch)
tree2055fbe3160d55d100331c684626b011ac899320
parent4b60e727cde70578d3cfed1971b8edf1e8b924d1 (diff)
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 <rene@debian.org> (cherry picked from commit a826cb4f9655ab8b994c4da258835f5f6ddb5a5f) Reviewed-on: https://gerrit.libreoffice.org/59042 Reviewed-by: Vincas Dargis <vindrg@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--sysui/desktop/apparmor/program.soffice.bin1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index 56f4de4ef9af..82525d6cde7d 100644
--- a/sysui/desktop/apparmor/program.soffice.bin
+++ b/sysui/desktop/apparmor/program.soffice.bin
@@ -106,6 +106,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,