From 8f904132e19a9d13e57bc0216aaafc4dfa182c7f Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 10 Nov 2024 19:06:43 +0000 Subject: [PATCH] feat(profile): improve libreoffice tmp files. --- apparmor.d/profiles-g-l/libreoffice | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apparmor.d/profiles-g-l/libreoffice b/apparmor.d/profiles-g-l/libreoffice index 2198ad925..6e1a2d07a 100644 --- a/apparmor.d/profiles-g-l/libreoffice +++ b/apparmor.d/profiles-g-l/libreoffice @@ -83,12 +83,13 @@ profile libreoffice @{exec_path} { owner @{user_share_dirs}/user-places.xbel r, owner @{tmp}/ r, - owner @{tmp}/@{rand6} rwk, - owner @{tmp}/*.tmp/{,**} rwk, - owner @{tmp}/OSL_PIPE_@{uid}_SingleOfficeIPC_@{hex} w, owner @{tmp}/.java_pid@{int}{,.tmp} rw, + owner @{tmp}/@{rand6} rwk, + owner @{tmp}/@{u64} rw, + owner @{tmp}/*.tmp/{,**} rwk, owner @{tmp}/hsperfdata_@{user}/ rw, owner @{tmp}/hsperfdata_@{user}/@{int} rwk, + owner @{tmp}/OSL_PIPE_@{uid}_SingleOfficeIPC_@{hex} w, owner @{run}/user/@{uid}/#@{int} rw,