1 # ------------------------------------------------------------------
3 # Copyright (C) 2016 Canonical Ltd.
4 # Copyright (C) 2017 Software in the Public Interest, Inc.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 # Authors: Bryan Quigley <bryan.quigley@canonical.com>
11 # Rene Engelhard <rene@debian.org>
13 # ------------------------------------------------------------------
15 #include <tunables/global>
17 profile libreoffice-senddoc INSTDIR-program/senddoc {
18 #include <abstractions/base>
20 owner /tmp/lu** rw, #makes files like luRRRRR.tmp/lubRRRR.tmp where R is random
21 #Note, usually it's lub or luc, don't know why.
23 /{usr/,}bin/bash rmix,
24 /{usr/,}bin/dash rmix,
26 /usr/bin/dirname rmix,
27 /usr/bin/basename rmix,
28 /{usr/,}bin/grep rmix,
29 /{usr/,}bin/uname rmix,
30 /usr/bin/xdg-open rPUx,
31 /usr/bin/xdg-email rPUx,
33 INSTDIR-program/uri-encode rmpux,
34 /usr/share/libreoffice/share/config/* r,
35 owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw,