summaryrefslogtreecommitdiff
path: root/sysui/desktop
diff options
context:
space:
mode:
authorVincas Dargis <vindrg@gmail.com>2018-08-14 20:19:00 +0300
committerRene Engelhard <rene@debian.org>2018-08-15 08:51:31 +0200
commit8d1f307c2fb1fa6b0402b88954269a0b0442d02f (patch)
tree0fc50f5bb6d197fbad080345c6186f307e9298a5 /sysui/desktop
parent45c2eb2eced00c51198ea2e4e09a8c06d0a81305 (diff)
apparmor: allow writing .epub files
Currently, exporting document to .epub fails if AppArmor profile is enabled. This patch fixes it by registering .epub extension within AppArmor profile. Change-Id: I5075ac803ffd9157c2f2cc6546895149b0fdd5f2 Reviewed-on: https://gerrit.libreoffice.org/59004 Tested-by: Jenkins Reviewed-by: Rene Engelhard <rene@debian.org>
Diffstat (limited to 'sysui/desktop')
-rw-r--r--sysui/desktop/apparmor/program.soffice.bin2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index cf6fd4b2eac9..642548420f5b 100644
--- a/sysui/desktop/apparmor/program.soffice.bin
+++ b/sysui/desktop/apparmor/program.soffice.bin
@@ -35,6 +35,8 @@
@{libreoffice_ext} += [uU][oO][fFtTsSpP]
#(x)htm(l)
@{libreoffice_ext} += {,x,X}[hH][tT][mM]{,l,L}
+#.epub
+@{libreoffice_ext} += [eE][pP][uU][bB]
#Images
@{libreoffice_ext} += [jJ][pP][gG]