diff options
Diffstat (limited to 'etc/profile-a-l/ghostwriter.profile')
-rw-r--r-- | etc/profile-a-l/ghostwriter.profile | 50 |
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 | ||
5 | include ghostwriter.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/ghostwriter | ||
10 | noblacklist ${HOME}/.local/share/ghostwriter | ||
11 | noblacklist ${DOCUMENTS} | ||
12 | noblacklist ${PICTURES} | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-exec.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-passwdmgr.inc | ||
19 | include disable-programs.inc | ||
20 | include disable-xdg.inc | ||
21 | |||
22 | whitelist /usr/share/ghostwriter | ||
23 | whitelist /usr/share/mozilla-dicts | ||
24 | whitelist /usr/share/texlive | ||
25 | whitelist /usr/share/pandoc* | ||
26 | include whitelist-usr-share-common.inc | ||
27 | |||
28 | apparmor | ||
29 | caps.drop all | ||
30 | machine-id | ||
31 | netfilter | ||
32 | nodvd | ||
33 | nogroups | ||
34 | nonewprivs | ||
35 | noroot | ||
36 | nosound | ||
37 | notv | ||
38 | nou2f | ||
39 | novideo | ||
40 | protocol unix,inet,inet6,netlink | ||
41 | seccomp !chroot | ||
42 | shell none | ||
43 | #tracelog -- breaks | ||
44 | |||
45 | private-bin context,gettext,ghostwriter,latex,mktexfmt,pandoc,pdflatex,pdfroff,prince,weasyprint,wkhtmltopdf | ||
46 | private-cache | ||
47 | private-dev | ||
48 | # passwd,login.defs,firejail are a temporary workaround for #2877 and can be removed once it is fixed | ||
49 | private-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 | ||
50 | private-tmp | ||