Skip to content

Instantly share code, notes, and snippets.

@glitsj16
Last active May 18, 2019 05:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glitsj16/db3360b8a7b1feaf01d698c3c76e90c3 to your computer and use it in GitHub Desktop.
Save glitsj16/db3360b8a7b1feaf01d698c3c76e90c3 to your computer and use it in GitHub Desktop.
# Firejail profile for meteo-qt
# Description: System tray application for weather status information
# This file is overwritten after every install/update
# Persistent local customizations
include meteo-qt.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.config/autostart
noblacklist ${HOME}/.config/meteo-qt
# Allow python (blacklisted by disable-interpreters.inc)
noblacklist ${PATH}/python3*
noblacklist /usr/lib/python3*
noblacklist /usr/local/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
whitelist ${HOME}/.config/autostart
mkdir ${HOME}/.config/meteo-qt
whitelist ${HOME}/.config/meteo-qt
include whitelist-common.inc
include whitelist-var-common.inc
caps.drop all
netfilter
nodbus
nodvd
nogroups
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
shell none
tracelog
disable-mnt
private-bin meteo-qt,python*
private-cache
private-dev
private-tmp
memory-deny-write-execute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment