From 8ca83479ab1f921a14a366432a513a904af0dd20 Mon Sep 17 00:00:00 2001 From: Vincas Dargis Date: Tue, 7 Aug 2018 12:23:48 +0300 Subject: deb#905442 apparmor: fix saving files in enforced mode Add rule to allow creating temporary files like `lu6924jgpjkq.tmp`, because without it files cannot be saved. Change-Id: I640897df5d325e2d01da16840034abbd095fb276 Reviewed-on: https://gerrit.libreoffice.org/58672 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sysui/desktop/apparmor/program.soffice.bin | 1 + 1 file changed, 1 insertion(+) (limited to 'sysui') diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin index 2fc7fd6b5735..a6802609dcfa 100644 --- a/sysui/desktop/apparmor/program.soffice.bin +++ b/sysui/desktop/apparmor/program.soffice.bin @@ -97,6 +97,7 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin { owner @{libo_user_dirs}/**/ rw, #allow creating directories that we own owner @{libo_user_dirs}/**~lock.* rw, #lock file support owner @{libo_user_dirs}/**.@{libreoffice_ext} rwk, #Open files rw with the right exts + owner @{libo_user_dirs}/{,**/}lu??????????{,?}.tmp rwk, #Temporary file used when saving # Settings /etc/libreoffice/ r, -- cgit