| 1 |
# Firejail profile for bijiben |
| 2 |
# Description: Simple Note Viewer |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include bijiben.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.local/share/bijiben |
| 10 |
|
| 11 |
include disable-common.inc |
| 12 |
include disable-devel.inc |
| 13 |
include disable-exec.inc |
| 14 |
include disable-interpreters.inc |
| 15 |
include disable-programs.inc |
| 16 |
include disable-shell.inc |
| 17 |
include disable-xdg.inc |
| 18 |
|
| 19 |
mkdir ${HOME}/.local/share/bijiben |
| 20 |
whitelist ${HOME}/.local/share/bijiben |
| 21 |
whitelist ${HOME}/.cache/tracker |
| 22 |
|
| 23 |
# uses libgdk-pixbuf and/or glycin - see #6906 |
| 24 |
#whitelist /usr/libexec/webkit2gtk-4.0 |
| 25 |
|
| 26 |
whitelist /usr/share/bijiben |
| 27 |
whitelist /usr/share/tracker |
| 28 |
whitelist /usr/share/tracker3 |
| 29 |
include whitelist-common.inc |
| 30 |
include whitelist-runuser-common.inc |
| 31 |
include whitelist-usr-share-common.inc |
| 32 |
include whitelist-var-common.inc |
| 33 |
|
| 34 |
apparmor |
| 35 |
caps.drop all |
| 36 |
machine-id |
| 37 |
net none |
| 38 |
nodvd |
| 39 |
nogroups |
| 40 |
noinput |
| 41 |
nonewprivs |
| 42 |
noroot |
| 43 |
nosound |
| 44 |
notv |
| 45 |
nou2f |
| 46 |
novideo |
| 47 |
protocol unix |
| 48 |
seccomp |
| 49 |
seccomp.block-secondary |
| 50 |
tracelog |
| 51 |
|
| 52 |
disable-mnt |
| 53 |
private-bin bijiben |
| 54 |
#private-cache # access to .cache/tracker is required |
| 55 |
private-dev |
| 56 |
private-etc @x11 |
| 57 |
private-tmp |
| 58 |
|
| 59 |
dbus-user filter |
| 60 |
dbus-user.own org.gnome.Notes |
| 61 |
dbus-user.talk ca.desrt.dconf |
| 62 |
dbus-user.talk org.freedesktop.Tracker1 |
| 63 |
dbus-system none |
| 64 |
|
| 65 |
# Warning: Disabling the webkit sandbox may be needed to make firejail work |
| 66 |
# with webkit2gtk, but this is not recommended (see #2995). |
| 67 |
# Add the following line to bijiben.local at your own risk: |
| 68 |
#env WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 |
| 69 |
restrict-namespaces |