summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorVincas Dargis <vindrg@gmail.com>2018-08-14 20:49:31 +0300
committerRene Engelhard <rene@debian.org>2018-08-15 08:51:44 +0200
commita826cb4f9655ab8b994c4da258835f5f6ddb5a5f (patch)
tree2c48643a95a1e16e5d323195c98f6d2b30790f7a /sysui
parent8d1f307c2fb1fa6b0402b88954269a0b0442d02f (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>
Diffstat (limited to 'sysui')
-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 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,