From 176dae16c44794f30cb347dfd84fe84bcc5c9708 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sat, 14 Mar 2020 23:55:30 -0700 Subject: Initial commit --- profiles/karbon.profile | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 profiles/karbon.profile (limited to 'profiles/karbon.profile') diff --git a/profiles/karbon.profile b/profiles/karbon.profile new file mode 100644 index 0000000..330753c --- /dev/null +++ b/profiles/karbon.profile @@ -0,0 +1,53 @@ +# Firejail profile for karbon +# This file is overwritten after every install/update +# Persistent local customizations +include karbon.local +# Persistent global definitions +include globals.local + +# Breaks opening svg files +ignore noexec ${HOME} + +noblacklist ${HOME}/.config/karbonrc +noblacklist ${HOME}/.local/share/karbon +noblacklist ${DOCUMENTS} +noblacklist ${PICTURES} + +# Allow python (blacklisted by disable-interpreters.inc) +noblacklist ${PATH}/python2* +noblacklist ${PATH}/python3* +noblacklist /usr/lib/python2* +noblacklist /usr/lib/python3* + +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc + +apparmor +caps.drop all +# # ipc-namespace breaks menus +ignore ipc-namespace +# net none +netfilter +# nodbus +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix +# # seccomp breaks integrated file manager on kde applications +# # due to syscall name_to_handle_at +seccomp !name_to_handle_at +shell none + +private-cache +private-dev +private-tmp -- cgit v1.2.1