| 1 |
# Firejail profile for baloo_file |
| 2 |
# This file is overwritten after every install/update |
| 3 |
# Persistent local customizations |
| 4 |
include baloo_file.local |
| 5 |
# Persistent global definitions |
| 6 |
include globals.local |
| 7 |
|
| 8 |
# Make home directory read-only and allow writing only to ${HOME}/.local/share/baloo |
| 9 |
# Note: Baloo will not be able to update the "first run" key in its configuration files. |
| 10 |
#mkdir ${HOME}/.local/share/baloo |
| 11 |
#read-only ${HOME} |
| 12 |
#read-write ${HOME}/.local/share/baloo |
| 13 |
#ignore read-write |
| 14 |
|
| 15 |
noblacklist ${HOME}/.config/baloofilerc |
| 16 |
noblacklist ${HOME}/.kde/share/config/baloofilerc |
| 17 |
noblacklist ${HOME}/.kde/share/config/baloorc |
| 18 |
noblacklist ${HOME}/.kde4/share/config/baloofilerc |
| 19 |
noblacklist ${HOME}/.kde4/share/config/baloorc |
| 20 |
noblacklist ${HOME}/.local/share/baloo |
| 21 |
|
| 22 |
include disable-common.inc |
| 23 |
include disable-devel.inc |
| 24 |
include disable-exec.inc |
| 25 |
include disable-interpreters.inc |
| 26 |
include disable-programs.inc |
| 27 |
|
| 28 |
include whitelist-run-common.inc |
| 29 |
include whitelist-var-common.inc |
| 30 |
|
| 31 |
apparmor |
| 32 |
caps.drop all |
| 33 |
machine-id |
| 34 |
#net none |
| 35 |
netfilter |
| 36 |
no3d |
| 37 |
nodvd |
| 38 |
nogroups |
| 39 |
noinput |
| 40 |
nonewprivs |
| 41 |
noroot |
| 42 |
nosound |
| 43 |
notv |
| 44 |
nou2f |
| 45 |
novideo |
| 46 |
protocol unix |
| 47 |
# blacklisting of ioprio_set system calls breaks baloo_file |
| 48 |
seccomp !ioprio_set |
| 49 |
#x11 xorg |
| 50 |
|
| 51 |
private-bin baloo_file,baloo_file_extractor,baloo_filemetadata_temp_extractor,kbuildsycoca4 |
| 52 |
private-cache |
| 53 |
private-dev |
| 54 |
private-tmp |
| 55 |
|
| 56 |
restrict-namespaces |