| 1 |
# Firejail profile for font-manager |
| 2 |
# Description: A simple font management application for GTK desktop environments |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include font-manager.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.cache/font-manager |
| 10 |
noblacklist ${HOME}/.config/font-manager |
| 11 |
|
| 12 |
# Allow python (blacklisted by disable-interpreters.inc) |
| 13 |
include allow-python2.inc |
| 14 |
include allow-python3.inc |
| 15 |
|
| 16 |
include disable-common.inc |
| 17 |
include disable-devel.inc |
| 18 |
include disable-exec.inc |
| 19 |
include disable-interpreters.inc |
| 20 |
include disable-programs.inc |
| 21 |
include disable-shell.inc |
| 22 |
include disable-xdg.inc |
| 23 |
|
| 24 |
mkdir ${HOME}/.cache/font-manager |
| 25 |
mkdir ${HOME}/.config/font-manager |
| 26 |
whitelist ${HOME}/.cache/font-manager |
| 27 |
whitelist ${HOME}/.config/font-manager |
| 28 |
whitelist /usr/share/font-manager |
| 29 |
include whitelist-common.inc |
| 30 |
include whitelist-usr-share-common.inc |
| 31 |
include whitelist-var-common.inc |
| 32 |
|
| 33 |
apparmor |
| 34 |
caps.drop all |
| 35 |
machine-id |
| 36 |
#net none # issues on older versions |
| 37 |
no3d |
| 38 |
nodvd |
| 39 |
nogroups |
| 40 |
noinput |
| 41 |
nonewprivs |
| 42 |
noroot |
| 43 |
nosound |
| 44 |
notv |
| 45 |
nou2f |
| 46 |
novideo |
| 47 |
protocol unix |
| 48 |
seccomp |
| 49 |
tracelog |
| 50 |
|
| 51 |
disable-mnt |
| 52 |
private-bin font-manager,python*,yelp |
| 53 |
private-dev |
| 54 |
private-tmp |
| 55 |
|
| 56 |
#memory-deny-write-execute # breaks on Arch (see issue #1803) |
| 57 |
restrict-namespaces |