[Libreoffice-commits] core.git: 3 commits - sysui/desktop

Rene Engelhard rene at debian.org
Thu Jan 18 22:12:30 UTC 2018


 sysui/desktop/apparmor/program.oosplash    |    1 +
 sysui/desktop/apparmor/program.soffice.bin |    8 ++++++++
 2 files changed, 9 insertions(+)

New commits:
commit c6a19889e91f2585453636667e3d5779b153ab86
Author: Rene Engelhard <rene at debian.org>
Date:   Thu Jan 18 23:12:03 2018 +0100

    deb#887593 apparmor: allow soffice.bin reading .mozilla/firefox and .gnupg
    
    Change-Id: I74b57cd510b1babbb4a537d307a6ffc9ee1d9ce5

diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index 27f7e2f34277..8aab5c155e8d 100644
--- a/sysui/desktop/apparmor/program.soffice.bin
+++ b/sysui/desktop/apparmor/program.soffice.bin
@@ -84,6 +84,8 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
   #include <abstractions/ibus>
   #include <abstractions/nameservice>
   #include <abstractions/gnome>
+# GnuPG1 only...
+# #include <abstractions/gnupg>
   #include <abstractions/python>
   #include <abstractions/p11-kit>
 
@@ -166,4 +168,8 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
   owner @{HOME}/.icons/*/cursors/*      r,
   /usr/share/*-fonts/conf.avail/*.conf  r,
   /usr/share/fonts-config/conf.avail/*.conf r,
+
+  owner @{HOME}/.mozilla/firefox/** r,
+  # there is abstractions/gnupg but that's just for gpg1...
+  owner @{HOME}/.gnupg/* r,
 }
commit e64e7da9b222cebfdff270059f5182e71b667796
Author: Rene Engelhard <rene at debian.org>
Date:   Thu Jan 18 23:11:54 2018 +0100

    deb#887593 add gpg and gpgsm to soffice.bin apparmor profile
    
    Change-Id: I4b37be72ebec86b9360ea2594b26815ddaab60cd

diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index 9c7ec3c2a3f7..27f7e2f34277 100644
--- a/sysui/desktop/apparmor/program.soffice.bin
+++ b/sysui/desktop/apparmor/program.soffice.bin
@@ -124,6 +124,8 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
   /usr/bin/lpr                          rmPUx,
   /usr/bin/paperconf                    rmix,
   /usr/bin/gpgconf                      rmix,
+  /usr/bin/gpg                          rmix,
+  /usr/bin/gpgsm                        rmix,
 
   /dev/tty                              rw,
 
commit 616af7d9bd2e75e4bf9224ef8301c7e6b1b4d972
Author: Rene Engelhard <rene at debian.org>
Date:   Thu Jan 18 23:11:38 2018 +0100

    deb#887593 add #include <abstractions/X> to oosplash apparmor profile
    
    Change-Id: Ib9595b1e0fe888a6698c3c508a24390d3798b3e4

diff --git a/sysui/desktop/apparmor/program.oosplash b/sysui/desktop/apparmor/program.oosplash
index fef54b7ee384..d68fa776de8f 100644
--- a/sysui/desktop/apparmor/program.oosplash
+++ b/sysui/desktop/apparmor/program.oosplash
@@ -14,6 +14,7 @@
 
 profile libreoffice-oopslash INSTDIR-program/oosplash {
   #include <abstractions/base>
+  #include <abstractions/X>
 
   /etc/libreoffice/                     r,
   /etc/libreoffice/**                   r,


More information about the Libreoffice-commits mailing list