aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/baloo_file.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/baloo_file.profile')
-rw-r--r--etc/profile-a-l/baloo_file.profile54
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/profile-a-l/baloo_file.profile b/etc/profile-a-l/baloo_file.profile
new file mode 100644
index 000000000..785e37a16
--- /dev/null
+++ b/etc/profile-a-l/baloo_file.profile
@@ -0,0 +1,54 @@
1# Firejail profile for baloo_file
2# This file is overwritten after every install/update
3# Persistent local customizations
4include baloo_file.local
5# Persistent global definitions
6include 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
15noblacklist ${HOME}/.config/baloofilerc
16noblacklist ${HOME}/.kde/share/config/baloofilerc
17noblacklist ${HOME}/.kde/share/config/baloorc
18noblacklist ${HOME}/.kde4/share/config/baloofilerc
19noblacklist ${HOME}/.kde4/share/config/baloorc
20noblacklist ${HOME}/.local/share/baloo
21
22include disable-common.inc
23include disable-devel.inc
24include disable-exec.inc
25include disable-interpreters.inc
26include disable-passwdmgr.inc
27include disable-programs.inc
28
29include whitelist-var-common.inc
30
31apparmor
32caps.drop all
33machine-id
34# net none
35netfilter
36no3d
37nodvd
38nogroups
39nonewprivs
40noroot
41nosound
42notv
43nou2f
44novideo
45protocol unix
46# blacklisting of ioprio_set system calls breaks baloo_file
47seccomp !ioprio_set
48shell none
49# x11 xorg
50
51private-bin baloo_file,baloo_file_extractor,baloo_filemetadata_temp_extractor,kbuildsycoca4
52private-cache
53private-dev
54private-tmp