diff options
Diffstat (limited to 'sysui/desktop/apparmor/program.open-url')
-rw-r--r-- | sysui/desktop/apparmor/program.open-url | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sysui/desktop/apparmor/program.open-url b/sysui/desktop/apparmor/program.open-url new file mode 100644 index 000000000000..1d3d46638c65 --- /dev/null +++ b/sysui/desktop/apparmor/program.open-url @@ -0,0 +1,30 @@ +# ------------------------------------------------------------------ +# +# 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, +} |