| 1 |
# Firejail profile for gramps |
| 2 |
# Description: genealogy program |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include gramps.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.config/gramps |
| 10 |
noblacklist ${HOME}/.gramps |
| 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-xdg.inc |
| 22 |
|
| 23 |
mkdir ${HOME}/.config/gramps |
| 24 |
mkdir ${HOME}/.gramps |
| 25 |
whitelist ${HOME}/.config/gramps |
| 26 |
whitelist ${HOME}/.gramps |
| 27 |
include whitelist-common.inc |
| 28 |
include whitelist-var-common.inc |
| 29 |
|
| 30 |
apparmor |
| 31 |
caps.drop all |
| 32 |
ipc-namespace |
| 33 |
netfilter |
| 34 |
no3d |
| 35 |
nodvd |
| 36 |
nogroups |
| 37 |
noinput |
| 38 |
nonewprivs |
| 39 |
noroot |
| 40 |
nosound |
| 41 |
notv |
| 42 |
nou2f |
| 43 |
novideo |
| 44 |
protocol unix,inet,inet6 |
| 45 |
seccomp |
| 46 |
|
| 47 |
disable-mnt |
| 48 |
private-cache |
| 49 |
private-dev |
| 50 |
private-tmp |
| 51 |
|
| 52 |
dbus-user none |
| 53 |
dbus-system none |
| 54 |
|
| 55 |
restrict-namespaces |