From 91a2bedaf42abcb947ef9370919b9d5503e84e47 Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Wed, 10 Jun 2020 21:56:36 +0200 Subject: New profiles: apostrophe & quadrapassel --- etc/profile-a-l/apostrophe.profile | 69 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 etc/profile-a-l/apostrophe.profile (limited to 'etc/profile-a-l/apostrophe.profile') diff --git a/etc/profile-a-l/apostrophe.profile b/etc/profile-a-l/apostrophe.profile new file mode 100644 index 000000000..5dfe034e0 --- /dev/null +++ b/etc/profile-a-l/apostrophe.profile @@ -0,0 +1,69 @@ +# Firejail profile for apostrophe +# Description: Distraction free Markdown editor for GNU/Linux made with GTK+ +# This file is overwritten after every install/update +# Persistent local customizations +include apostrophe.local +# Persistent global definitions +include globals.local + +noblacklist ${DOCUMENTS} +noblacklist ${PICTURES} + +# Allow python (blacklisted by disable-interpreters.inc) +include allow-python3.inc + +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-shell.inc +include disable-xdg.inc + +whitelist /usr/share/apostrophe +include whitelist-runuser-common.inc +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +apparmor +caps.drop all +machine-id +net none +no3d +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix +seccomp +shell none +tracelog + +disable-mnt +private-bin apostrophe,python3* +private-cache +private-dev +private-etc alternatives,dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,pango,X11 +# private-etc templates (see also #1734, #2093) +# Common: alternatives,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mime.types,xdg +# Extra: magic,magic.mgc,passwd,group +# Networking: ca-certificates,ssl,pki,crypto-policies,nsswitch.conf,resolv.conf,hosts,host.conf,hostname,protocols,services,rpc +# Extra: proxychains.conf,gai.conf +# Sound: alsa,asound.conf,pulse,machine-id +# GUI: fonts,pango,X11 +# GTK: dconf,gconf,gtk-2.0,gtk-3.0 +# Qt: Trolltech.conf +# KDE: kde4rc,kde5rc +# 3D: drirc,glvnd,bumblebee,nvidia +# D-Bus: dbus-1,machine-id +private-tmp + +dbus-user filter +dbus-user.own org.gnome.gitlab.somas.Apostrophe +dbus-user.talk ca.desrt.dconf +dbus-system none -- cgit v1.2.3-70-g09d2