apparmor-usrmerge
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Tue, 26 Jun 2018 23:10:17 +0000 (00:10 +0100)
committerRaspbian forward porter <root@raspbian.org>
Tue, 26 Jun 2018 23:10:17 +0000 (00:10 +0100)
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 87f6dff1d7c2cce522ab4004ea06ea1e149b40eb..52174d3fdc9a3eee3e1ce9c73513e734ec047b08 100644 (file)
@@ -119,9 +119,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,