diff options
author | Olivier Tilloy <olivier.tilloy@canonical.com> | 2018-02-12 19:13:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-13 21:59:58 +0100 |
commit | 60119a71e0f712f461b290abb009c7d8e62603b2 (patch) | |
tree | 48cf3a8db4c4f65fff35009d5b9f533b14ce8b21 /sysui | |
parent | 039bf2792b6cbd8a8ad7059b4e72b7c457522505 (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
- add missing include statement for sanitized_helper profile
Change-Id: Ie7c5b112bd6c415036490e9f0f81063ca3ced5a1
Reviewed-on: https://gerrit.libreoffice.org/49615
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sysui')
-rw-r--r-- | sysui/desktop/apparmor/program.senddoc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysui/desktop/apparmor/program.senddoc b/sysui/desktop/apparmor/program.senddoc index 42c2740f7012..4ee34d01c941 100644 --- a/sysui/desktop/apparmor/program.senddoc +++ b/sysui/desktop/apparmor/program.senddoc @@ -12,8 +12,9 @@ #include <tunables/global> -profile libreoffice-senddoc INSTDIR-/usr/lib{,32,64}/libreoffice/program/senddoc { +profile libreoffice-senddoc INSTDIR-program/senddoc { #include <abstractions/base> + #include <abstractions/ubuntu-helpers> owner /tmp/lu** rw, #makes files like luRRRRR.tmp/lubRRRR.tmp where R is random #Note, usually it's lub or luc, don't know why. @@ -26,6 +27,7 @@ profile libreoffice-senddoc INSTDIR-/usr/lib{,32,64}/libreoffice/program/senddoc /bin/grep rmix, /bin/uname rmix, /usr/bin/xdg-open Cxr -> sanitized_helper, + /usr/bin/xdg-email Cxr -> sanitized_helper, /dev/null rw, INSTDIR-program/uri-encode rmpux, /usr/share/libreoffice/share/config/* r, |