File: apparmor-allow-java.security.diff

package info (click to toggle)
libreoffice 4%3A25.8.1-1~bpo13%2B1
  • links: PTS, VCS
  • area: main
  • in suites: trixie-backports
  • size: 3,814,616 kB
  • sloc: cpp: 4,377,924; xml: 454,658; java: 257,215; python: 80,826; ansic: 33,824; perl: 30,304; javascript: 19,722; sh: 11,717; makefile: 10,621; cs: 8,865; yacc: 8,549; objc: 2,131; lex: 1,379; asm: 1,231; awk: 996; pascal: 914; csh: 20; sed: 5
file content (14 lines) | stat: -rw-r--r-- 766 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index 2fc7fd6b5735..3fd82b08431e 100644
--- a/sysui/desktop/apparmor/program.soffice.bin
+++ b/sysui/desktop/apparmor/program.soffice.bin
@@ -144,6 +144,9 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
   /usr/lib{,32,64}/jvm/**                       r,
   /usr/lib{,32,64}/jvm/**/jre/bin/java          mix,
   /usr/lib{,32,64}/jvm/**/bin/java              mix,
+  # should be included in the jvm/** above but there it is
+  # a symlink, so apparmor still doesn't allow it...
+  /etc/java-??-openjdk/security/java.security   r,
   INSTDIR-**                        rw,
   INSTDIR-**.so                     m,
   INSTDIR-program/soffice.bin       mix,