| 1 | # ------------------------------------------------------------------ |
| 2 | # |
| 3 | # Copyright (C) 2002-2005 Novell/SUSE |
| 4 | # |
| 5 | # This program is free software; you can redistribute it and/or |
| 6 | # modify it under the terms of version 2 of the GNU General Public |
| 7 | # License published by the Free Software Foundation. |
| 8 | # |
| 9 | # ------------------------------------------------------------------ |
| 10 | # vim:syntax=apparmor |
| 11 | # Last Modified: Wed Aug 24 16:21:32 2005 |
| 12 | |
| 13 | #include <tunables/global> |
| 14 | |
| 15 | /usr/X11R6/bin/acroread { |
| 16 | #include <abstractions/base> |
| 17 | #include <abstractions/bash> |
| 18 | #include <abstractions/consoles> |
| 19 | #include <abstractions/fonts> |
| 20 | #include <abstractions/kde> |
| 21 | #include <abstractions/nameservice> |
| 22 | #include <abstractions/gnome> |
| 23 | #include <abstractions/X> |
| 24 | |
| 25 | capability dac_override, |
| 26 | |
| 27 | /bin/basename mixr, |
| 28 | /bin/bash mix, |
| 29 | /bin/cat mixr, |
| 30 | /bin/grep mixr, |
| 31 | /bin/uname mixr, |
| 32 | /etc/** r, |
| 33 | |
| 34 | @{HOME}/.adobe/** rw, |
| 35 | @{HOME}/Desktop/** rw, |
| 36 | @{HOME}/Documents/* rw, |
| 37 | @{HOME}/.fonts.cache-* r, |
| 38 | @{HOME}/.gconfd/saved_state lrw, |
| 39 | @{HOME}/.gconfd/saved_state.orig lw, |
| 40 | @{HOME}/.gconfd/saved_state.tmp lrw, |
| 41 | @{HOME}/.gconf r, |
| 42 | @{HOME}/.gconf/.testing.writeability lw, |
| 43 | @{HOME}/* rw, |
| 44 | |
| 45 | /usr/bin/acroread Pxr, |
| 46 | /usr/bin/gconftool-2 mixr, |
| 47 | /usr/lib/firefox/firefox.sh Pxr, |
| 48 | /usr/lib/GConf/** r, |
| 49 | /usr/lib/GConf/2/gconfd-2 Pxr, |
| 50 | /usr/share/icons r, |
| 51 | /usr/share/icons/hicolor/icon-theme.cache r, |
| 52 | /usr/share/pixmaps r, |
| 53 | /usr/lib/Acrobat7/Reader/intellinux/lib/**so* mixr, |
| 54 | /usr/bin/cut mixr, |
| 55 | /usr/bin/dirname mixr, |
| 56 | /usr/bin/which mixr, |
| 57 | /usr/lib/jvm/java-*/jre/lib/fonts/** r, |
| 58 | /usr/lib/ooo-*/share/fonts/** r, |
| 59 | /usr/share/icons r, |
| 60 | } |