summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2018-02-14 20:18:11 +0100
committerRene Engelhard <rene@debian.org>2018-02-14 20:21:02 +0100
commitb13678b1e1d6f4cac548ae7e088b6030c31cf081 (patch)
treee39ed4b0f020acba070a88838a4d04cd647ad4c2
parent712540224d7c5c8cdb4a5214e2d7963a314c1928 (diff)
initial apparmor stuff for lo_kde5filepicker
Change-Id: I310f44bb7145449560aa28d5b33272ece0b307c2
-rw-r--r--sysui/desktop/apparmor/program.soffice.bin9
1 files changed, 9 insertions, 0 deletions
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,
+
}