diff options
Diffstat (limited to 'sysui/desktop/apparmor')
-rw-r--r-- | sysui/desktop/apparmor/program.open-url | 30 | ||||
-rw-r--r-- | sysui/desktop/apparmor/program.soffice.bin | 2 |
2 files changed, 1 insertions, 31 deletions
diff --git a/sysui/desktop/apparmor/program.open-url b/sysui/desktop/apparmor/program.open-url deleted file mode 100644 index 1d3d46638c65..000000000000 --- a/sysui/desktop/apparmor/program.open-url +++ /dev/null @@ -1,30 +0,0 @@ -# ------------------------------------------------------------------ -# -# Copyright (C) 2015 Canonical Ltd. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# Author: Bryan Quigley <bryan.quigley@canonical.com> -# -# ------------------------------------------------------------------ - -#include <tunables/global> - -profile libreoffice-open-url INSTDIR-program/open-url { - #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. - /bin/sh rmix, - /bin/dash rmix, - /bin/bash rmix, - /bin/sed rmix, - /bin/grep rmix, - /usr/bin/xdg-open Cxr -> sanitized_helper, - /dev/null rw, - /usr/share/libreoffice/share/config/* r, - owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw, -} diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin index bbb0100698f3..e62216c8d62b 100644 --- a/sysui/desktop/apparmor/program.soffice.bin +++ b/sysui/desktop/apparmor/program.soffice.bin @@ -124,7 +124,7 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin { INSTDIR-**.so rm, INSTDIR-program/soffice.bin rmix, INSTDIR-program/xpdfimport rPx, - INSTDIR-program/open-url rPx, + /usr/bin/xdg-open rPUx, INSTDIR-program/senddoc rPx, /usr/share/java/**.jar r, |