| 1 |
# Firejail profile for digikam |
| 2 |
# Description: Digital photo management application for KDE |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include digikam.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.config/digikam |
| 10 |
noblacklist ${HOME}/.config/digikamrc |
| 11 |
noblacklist ${HOME}/.kde/share/apps/digikam |
| 12 |
noblacklist ${HOME}/.kde4/share/apps/digikam |
| 13 |
noblacklist ${HOME}/.local/share/kxmlgui5/digikam |
| 14 |
noblacklist ${PICTURES} |
| 15 |
|
| 16 |
# Allow perl (blacklisted by disable-interpreters.inc) |
| 17 |
include allow-perl.inc |
| 18 |
|
| 19 |
include disable-common.inc |
| 20 |
include disable-devel.inc |
| 21 |
include disable-exec.inc |
| 22 |
include disable-interpreters.inc |
| 23 |
include disable-programs.inc |
| 24 |
include disable-xdg.inc |
| 25 |
|
| 26 |
include whitelist-var-common.inc |
| 27 |
|
| 28 |
apparmor |
| 29 |
caps.drop all |
| 30 |
netfilter |
| 31 |
nodvd |
| 32 |
nogroups |
| 33 |
nonewprivs |
| 34 |
noroot |
| 35 |
notv |
| 36 |
protocol unix,inet,inet6,netlink |
| 37 |
# QtWebengine needs chroot to set up its own sandbox |
| 38 |
seccomp !chroot |
| 39 |
|
| 40 |
# private-dev prevents libdc1394 from loading; this lib is used to connect to a |
| 41 |
# camera device |
| 42 |
#private-dev |
| 43 |
#private-etc alternatives,ca-certificates,crypto-policies,pki,ssl |
| 44 |
private-tmp |
| 45 |
|
| 46 |
#dbus-user none |
| 47 |
#dbus-system none |
| 48 |
|
| 49 |
#restrict-namespaces |