From b13678b1e1d6f4cac548ae7e088b6030c31cf081 Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Wed, 14 Feb 2018 20:18:11 +0100 Subject: initial apparmor stuff for lo_kde5filepicker Change-Id: I310f44bb7145449560aa28d5b33272ece0b307c2 --- sysui/desktop/apparmor/program.soffice.bin | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sysui/desktop') diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin index 4fafdd9a8b5b..3a18e7e1c13e 100644 --- a/sysui/desktop/apparmor/program.soffice.bin +++ b/sysui/desktop/apparmor/program.soffice.bin @@ -188,4 +188,13 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin { owner @{HOME}/.gnupg/* r, } + + # probably should become a subprofile like gpg above, but then it doesn't + # work either as it tries to access stuff only allowed above... + owner @{HOME}/.config/kdeglobals r, + /usr/lib/libreoffice/program/lo_kde5filepicker rPUx, + /usr/share/qt5/translations/* r, + /usr/lib/*/qt5/plugins/** rm, + /usr/share/plasma/look-and-feel/**/contents/defaults r, + } -- cgit