Kaydet (Commit) 92dbf3f7 authored tarafından Olivier Tilloy's avatar Olivier Tilloy Kaydeden (comit) Rene Engelhard

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/49614Reviewed-by: 's avatarRene Engelhard <rene@debian.org>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 1b02ba03
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment