1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Author: Felix Geyer <debfx@ubuntu.com>
@{APT_CACHE_DIR}=/var/cache/apt-cacher-ng
#include <tunables/global>
/usr/sbin/apt-cacher-ng {
#include <abstractions/base>
#include <abstractions/nameservice>
#include <abstractions/user-tmp>
/etc/apt-cacher-ng/ r,
/etc/apt-cacher-ng/** r,
/etc/hosts.{deny,allow} r,
/var/lib/apt-cacher-ng/** r,
/{,var/}run/apt-cacher-ng/* rw,
@{APT_CACHE_DIR}/ r,
@{APT_CACHE_DIR}/** rw,
/var/log/apt-cacher-ng/ r,
/var/log/apt-cacher-ng/* rw,
/bin/dash ixr,
/bin/ed ixr,
/bin/red ixr,
/bin/sed ixr,
}
|