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-xpdfimport INSTDIR-program/xpdfimport {
18 #include <abstractions/base>
20 owner /tmp/* r, #Seems to need to read file created with pattern /tmp/RRRRRR
21 owner /tmp/lu** rw, #makes files like luRRRRR.tmp/lubRRRR.tmp where R is random
22 #Note, usually it's lub or luc, don't know why.
23 /usr/share/poppler/** r,
24 /usr/share/libreoffice/share/config/* r,
25 owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw,
27 INSTDIR-program/xpdfimport pxm,
29 #Uncomment for build testing (should be one directory <- of instdir)
30 #/mnt/store/git/libo/** r,