summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier.tilloy@canonical.com>2018-02-12 19:13:45 +0100
committerRene Engelhard <rene@debian.org>2018-02-14 07:59:27 +0100
commit92dbf3f70eafd4974290fc488f51c05093950dbf (patch)
tree3eef012bb5f23d1ae2a1444dd85045d9cb4a2fe1 /sysui
parent1b02ba03bd62a712e15c15384a3d105d2c088120 (diff)
tdf#115659 Apparmor profile fixes for senddoc
Fix sending the current document by e-mail: - fix path to the installed senddoc executable - add missing exception for xdg-email - execute xdg-open and xdg-email unconfined Change-Id: Ie7c5b112bd6c415036490e9f0f81063ca3ced5a1 Reviewed-on: https://gerrit.libreoffice.org/49614 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sysui')
-rw-r--r--sysui/desktop/apparmor/program.senddoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysui/desktop/apparmor/program.senddoc b/sysui/desktop/apparmor/program.senddoc
index 0aa284de3684..d659ec9b98b3 100644
--- a/sysui/desktop/apparmor/program.senddoc
+++ b/sysui/desktop/apparmor/program.senddoc
@@ -14,7 +14,7 @@
#include <tunables/global>
-profile libreoffice-senddoc INSTDIR-/usr/lib{,32,64}/libreoffice/program/senddoc {
+profile libreoffice-senddoc INSTDIR-program/senddoc {
#include <abstractions/base>
owner /tmp/lu** rw, #makes files like luRRRRR.tmp/lubRRRR.tmp where R is random
@@ -27,7 +27,8 @@ profile libreoffice-senddoc INSTDIR-/usr/lib{,32,64}/libreoffice/program/senddoc
/usr/bin/basename rmix,
/{usr/,}bin/grep rmix,
/{usr/,}bin/uname rmix,
- /usr/bin/xdg-open Cxr -> sanitized_helper,
+ /usr/bin/xdg-open rPUx,
+ /usr/bin/xdg-email rPUx,
/dev/null rw,
INSTDIR-program/uri-encode rmpux,
/usr/share/libreoffice/share/config/* r,