apparmor-usrmerge
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 28 Feb 2018 17:37:57 +0000 (17:37 +0000)
committerRene Engelhard <rene@debian.org>
Wed, 28 Feb 2018 17:37:57 +0000 (17:37 +0000)
Gbp-Pq: Name apparmor-usrmerge.diff

sysui/desktop/apparmor/program.senddoc
sysui/desktop/apparmor/program.soffice.bin

index 4ee34d01c9415e56fd3ee0bf9ff2fb4205221f94..b67d69c6315c0065c7a85834deb4dc8476c604e0 100644 (file)
@@ -18,14 +18,14 @@ profile libreoffice-senddoc INSTDIR-program/senddoc {
 
   owner /tmp/lu**       rw,    #makes files like luRRRRR.tmp/lubRRRR.tmp where R is random
                                #Note, usually it's lub or luc, don't know why.
-  /bin/sh               rmix,
-  /bin/dash             rmix,
-  /bin/bash             rmix,
-  /bin/sed              rmix,
+  /{usr/,}bin/sh        rmix,
+  /{usr/,}bin/bash      rmix,
+  /{usr/,}bin/dash      rmix,
+  /{usr/,}bin/sed       rmix,
   /usr/bin/dirname      rmix,
   /usr/bin/basename     rmix,
-  /bin/grep             rmix,
-  /bin/uname            rmix,
+  /{usr/,}bin/grep      rmix,
+  /{usr/,}bin/uname     rmix,
   /usr/bin/xdg-open     Cxr -> sanitized_helper,
   /usr/bin/xdg-email    Cxr -> sanitized_helper,
   /dev/null             rw,
index 6b91d6091db865149c1f3ece85df393c2b75c83e..c977b8e1ced38042aad256678d5fbdddba69a51a 100644 (file)
@@ -109,9 +109,9 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
   # bluetooth send to
   network bluetooth,
 
-  /bin/sh                               rmix,
-  /bin/bash                             rmix,
-  /bin/dash                             rmix,
+  /{usr/,}bin/sh                        rmix,
+  /{usr/,}bin/bash                      rmix,
+  /{usr/,}bin/dash                      rmix,
   /usr/bin/bluetooth-sendto             rmPUx,
   /usr/bin/lpr                          rmPUx,
   /usr/bin/paperconf                    rmix,