diff options
author | 2021-05-02 15:21:59 +0530 | |
---|---|---|
committer | 2021-05-02 15:21:59 +0530 | |
commit | 7f7b5632ecfa87025abe108c256a5a4d43bfc4ad (patch) | |
tree | 2d8af0c0246a30e7828b5cfab63832ae7a7ab0d9 /etc/profile-m-z | |
parent | typo fix (diff) | |
download | firejail-7f7b5632ecfa87025abe108c256a5a4d43bfc4ad.tar.gz firejail-7f7b5632ecfa87025abe108c256a5a4d43bfc4ad.tar.zst firejail-7f7b5632ecfa87025abe108c256a5a4d43bfc4ad.zip |
Initial profile for neochat
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/neochat.profile | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/etc/profile-m-z/neochat.profile b/etc/profile-m-z/neochat.profile new file mode 100644 index 000000000..bfee8b2fc --- /dev/null +++ b/etc/profile-m-z/neochat.profile | |||
@@ -0,0 +1,79 @@ | |||
1 | # Firejail profile for neochat | ||
2 | # Description: Matrix Client | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include neochat.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | #TODO: Add these to disable-programs | ||
10 | noblacklist ${HOME}/.cache/KDE/neochat | ||
11 | noblacklist ${HOME}/.config/KDE/neochat | ||
12 | noblacklist ${HOME}/.config/neochatrc | ||
13 | noblacklist ${HOME}/.config/neochat.notifyrc | ||
14 | noblacklist ${HOME}/.local/share/KDE/neochat | ||
15 | noblacklist ${DOWNLOADS} | ||
16 | |||
17 | include disable-common.inc | ||
18 | include disable-devel.inc | ||
19 | include disable-exec.inc | ||
20 | include disable-interpreters.inc | ||
21 | include disable-passwdmgr.inc | ||
22 | include disable-programs.inc | ||
23 | include disable-shell.inc | ||
24 | include disable-write-mnt.inc | ||
25 | include disable-xdg.inc | ||
26 | |||
27 | mkdir ${HOME}/.cache/KDE/neochat | ||
28 | mkdir ${HOME}/.config/KDE/neochat.conf | ||
29 | mkdir ${HOME}/.local/share/KDE/neochat | ||
30 | mkfile ${HOME}/.config/neochatrc | ||
31 | mkfile ${HOME}/.config/neochat.notifyrc | ||
32 | |||
33 | whitelist ${HOME}/.cache/KDE/neochat | ||
34 | whitelist ${HOME}/.config/KDE/neochat.conf | ||
35 | whitelist ${HOME}/.config/neochatrc | ||
36 | whitelist ${HOME}/.local/share/KDE/neochat | ||
37 | whitelist ${HOME}/.config/neochat.notifyrc | ||
38 | whitelist ${DOWNLOADS} | ||
39 | include whitelist-common.inc | ||
40 | |||
41 | include whitelist-runuser-common.inc | ||
42 | include whitelist-usr-share-common.inc | ||
43 | include whitelist-var-common.inc | ||
44 | |||
45 | apparmor | ||
46 | caps.drop all | ||
47 | netfilter | ||
48 | nodvd | ||
49 | nogroups | ||
50 | nonewprivs | ||
51 | noroot | ||
52 | nosound | ||
53 | notv | ||
54 | nou2f | ||
55 | novideo | ||
56 | protocol unix,inet,inet6 | ||
57 | seccomp | ||
58 | shell none | ||
59 | tracelog | ||
60 | |||
61 | disable-mnt | ||
62 | private-bin neochat | ||
63 | private-dev | ||
64 | ##private-etc Common,Networking,GUI,Qt,KDE,D-Bus | ||
65 | private-etc alternatives,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mime.types,xdg,ca-certificates,ssl,pki,crypto-policies,nsswitch.conf,resolv.conf,hosts,host.conf,hostname,protocols,services,rpc,fonts,pango,X11,Trolltech.conf,kde4rc,kde5rc,dbus-1,machine-id | ||
66 | ##private-lib LIBS | ||
67 | ##private-opt NAME | ||
68 | private-tmp | ||
69 | |||
70 | ## dbus-user permissions copied from the flatpak package | ||
71 | dbus-user filter | ||
72 | dbus-user.own org.kde.neochat | ||
73 | dbus-user.talk org.freedesktop.Notifications | ||
74 | dbus-user.talk com.canonical.AppMenu.Registrar | ||
75 | dbus-user.talk org.kde.StatusNotifierWatcher | ||
76 | dbus-user.talk org.kde.kwalletd5 | ||
77 | dbus-system none | ||
78 | |||
79 | join-or-start neochat | ||