92bc3717 |
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 | |
12 | #include <tunables/global> |
13 | |
14 | /usr/lib/man-db/man flags=(complain) { |
15 | #include <abstractions/base> |
16 | #include <abstractions/bash> |
17 | #include <abstractions/consoles> |
18 | #include <abstractions/user-manpages> |
19 | |
20 | /bin/bash rmix, |
21 | /bin/cat rmix, |
22 | /bin/gunzip rmix, |
23 | /bin/mktemp rmix, |
24 | /bin/more rmix, |
25 | /bin/rm rmix, |
26 | |
27 | /etc/groff/man.local r, |
28 | /etc/lesskey.bin r, |
29 | /etc/manpath.config r, |
30 | /etc/man.config r, |
31 | /etc/papersize r, |
32 | /etc/termcap r, |
33 | |
34 | /tmp/nroff.** rw, |
35 | |
36 | /usr/man/** r, |
37 | /usr/bin/apropos Px, |
38 | /usr/bin/cmp rmix, |
39 | /usr/bin/getopt rmix, |
40 | /usr/bin/groff rmix, |
41 | /usr/bin/grops rmix, |
42 | /usr/bin/grotty rmix, |
43 | /usr/bin/iconv rmix, |
44 | /{usr/,}bin/less rmix, |
45 | /usr/bin/locale rmix, |
46 | /usr/bin/man rmix, |
47 | /usr/bin/nroff rmix, |
48 | /usr/bin/preconv rmix, |
49 | /usr/bin/tbl rmix, |
50 | /usr/bin/troff rmix, |
51 | /usr/bin/zsoelim rmix, |
52 | /usr/lib/man-db/man rmix, |
53 | /usr/lib/man-db/manconv rmix, |
54 | /usr/local/man/ r, |
55 | /usr/local/man/** r, |
56 | /usr/local/share/man/ r, |
57 | /usr/local/share/man/** r, |
58 | /usr/share/groff/** r, |
59 | /usr/share/locale-bundle/** r, |
60 | /usr/share/man/ r, |
61 | /usr/share/man/** r, |
62 | /usr/share/terminfo/** r, |
63 | /usr/share/texmf/teTeX/man/** r, |
64 | |
65 | /var/cache/man/** rk, |
66 | |
67 | owner @{HOME}/.lesshst rw, |
68 | } |