[Libreoffice-commits] core.git: sysui/desktop
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Aug 14 20:15:32 UTC 2018
sysui/desktop/apparmor/program.soffice.bin | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 032c3f0d8403c6c7cdc60564641687bfb56cf9b3
Author: Vincas Dargis <vindrg at gmail.com>
AuthorDate: Tue Aug 14 22:11:39 2018 +0300
Commit: Rene Engelhard <rene at debian.org>
CommitDate: Tue Aug 14 22:15:11 2018 +0200
apparmor: fix qt-related denies
Commit c86e4ad53391d17d1eb54845b5999889f7e65061 introduced qt-related
rules, like linking to ~/.config/#[0-9]* files, though does not allow to
write the files themselves, in result producing DENIED log entries if
AppArmor profile is enabled. This is fixed by adding read-write rule for
particular files.
Change-Id: I6441398c4fcfbfcf59ba5f5b3178682c1e5d1cd5
Reviewed-on: https://gerrit.libreoffice.org/59007
Tested-by: Jenkins
Reviewed-by: Rene Engelhard <rene at debian.org>
Tested-by: Rene Engelhard <rene at debian.org>
diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index dd71b94bff78..cf6fd4b2eac9 100644
--- a/sysui/desktop/apparmor/program.soffice.bin
+++ b/sysui/desktop/apparmor/program.soffice.bin
@@ -236,6 +236,7 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
/usr/share/kservices5/*.protocol r,
# TODO: use qt5-settings-write abstraction when it is available
+ owner @{HOME}/.config/#[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] rw,
owner @{HOME}/.config/QtProject.conf rw,
owner @{HOME}/.config/QtProject.conf.?????? l -> @{HOME}/.config/#[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9],
owner @{HOME}/.config/QtProject.conf.?????? rw, # for temporary files like QtProject.conf.Aqrgeb
More information about the Libreoffice-commits
mailing list