aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/ghostwriter.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/ghostwriter.profile')
-rw-r--r--etc/profile-a-l/ghostwriter.profile50
1 files changed, 50 insertions, 0 deletions
diff --git a/etc/profile-a-l/ghostwriter.profile b/etc/profile-a-l/ghostwriter.profile
new file mode 100644
index 000000000..c18a6b72e
--- /dev/null
+++ b/etc/profile-a-l/ghostwriter.profile
@@ -0,0 +1,50 @@
1# Firejail profile for ghostwriter
2# Description: Cross-platform, aesthetic, distraction-free Markdown editor.
3# This file is overwritten after every install/update
4# Persistent local customizations
5include ghostwriter.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/ghostwriter
10noblacklist ${HOME}/.local/share/ghostwriter
11noblacklist ${DOCUMENTS}
12noblacklist ${PICTURES}
13
14include disable-common.inc
15include disable-devel.inc
16include disable-exec.inc
17include disable-interpreters.inc
18include disable-passwdmgr.inc
19include disable-programs.inc
20include disable-xdg.inc
21
22whitelist /usr/share/ghostwriter
23whitelist /usr/share/mozilla-dicts
24whitelist /usr/share/texlive
25whitelist /usr/share/pandoc*
26include whitelist-usr-share-common.inc
27
28apparmor
29caps.drop all
30machine-id
31netfilter
32nodvd
33nogroups
34nonewprivs
35noroot
36nosound
37notv
38nou2f
39novideo
40protocol unix,inet,inet6,netlink
41seccomp !chroot
42shell none
43#tracelog -- breaks
44
45private-bin context,gettext,ghostwriter,latex,mktexfmt,pandoc,pdflatex,pdfroff,prince,weasyprint,wkhtmltopdf
46private-cache
47private-dev
48# passwd,login.defs,firejail are a temporary workaround for #2877 and can be removed once it is fixed
49private-etc alternatives,ca-certificates,crypto-policies,dbus-1,dconf,firejail,fonts,gconf,groups,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,login.defs,machine-id,mime.types,nsswitch.conf,pango,passwd,pki,protocols,resolv.conf,rpc,services,ssl,texlive,Trolltech.conf,X11,xdg
50private-tmp