apparmor-usrmerge
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Tue, 24 Apr 2018 09:46:54 +0000 (10:46 +0100)
committerRene Engelhard <rene@debian.org>
Tue, 24 Apr 2018 09:46:54 +0000 (10:46 +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 1f3ac9ae0971fca88029d6b3b7b8091e4260c838..9154fb2be7327acdc85e659b6c497c4750f5581f 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,