Skip to content

Commit 693756f

Browse files
author
pirate486743186
committed
create fluffychat.profile
1 parent eb5c971 commit 693756f

File tree

3 files changed

+75
-0
lines changed

3 files changed

+75
-0
lines changed

etc/inc/disable-programs.inc

+1
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,7 @@ blacklist ${HOME}/.local/share/evolution
920920
blacklist ${HOME}/.local/share/feedreader
921921
blacklist ${HOME}/.local/share/feral-interactive
922922
blacklist ${HOME}/.local/share/five-or-more
923+
blacklist ${HOME}/.local/share/fluffychat
923924
blacklist ${HOME}/.local/share/freecol
924925
blacklist ${HOME}/.local/share/gajim
925926
blacklist ${HOME}/.local/share/gdfuse

etc/profile-a-l/fluffychat.profile

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Firejail profile for fluffychat
2+
# Description: Easy to use matrix messenger
3+
# This file is overwritten after every install/update
4+
# Persistent local customizations
5+
include fluffychat.local
6+
# Persistent global definitions
7+
include globals.local
8+
9+
noblacklist ${HOME}/.local/share/fluffychat
10+
11+
# Allow /bin/sh (blacklisted by disable-shell.inc)
12+
include allow-bin-sh.inc
13+
14+
include disable-common.inc
15+
include disable-devel.inc
16+
include disable-exec.inc
17+
include disable-interpreters.inc
18+
include disable-proc.inc
19+
include disable-programs.inc
20+
include disable-shell.inc
21+
include disable-xdg.inc
22+
23+
# The lines below are needed to find the default Firefox profile name, to allow
24+
# opening links in an existing instance of Firefox (note that it still fails if
25+
# there isn't a Firefox instance running with the default profile; see #5352)
26+
noblacklist ${HOME}/.mozilla
27+
whitelist ${HOME}/.mozilla/firefox/profiles.ini
28+
read-only ${HOME}/.mozilla/firefox/profiles.ini
29+
30+
mkdir ${HOME}/.local/share/fluffychat
31+
whitelist ${DOWNLOADS}
32+
whitelist ${HOME}/.local/share/fluffychat
33+
whitelist /opt/fluffychat
34+
whitelist /usr/share/fluffychat
35+
include whitelist-common.inc
36+
include whitelist-run-common.inc
37+
include whitelist-runuser-common.inc
38+
include whitelist-usr-share-common.inc
39+
include whitelist-var-common.inc
40+
41+
apparmor
42+
caps.drop all
43+
netfilter
44+
no3d
45+
nodvd
46+
nogroups
47+
noinput
48+
nonewprivs
49+
noprinters
50+
noroot
51+
notv
52+
nou2f
53+
novideo
54+
protocol unix,inet,inet6
55+
seccomp
56+
seccomp.block-secondary
57+
tracelog
58+
59+
disable-mnt
60+
private-bin firefox,fluffychat,sh,which,zenity
61+
private-cache
62+
private-dev
63+
private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,gconf,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,machine-id,mime.types,nsswitch.conf,pango,pki,protocols,pulse,resolv.conf,rpc,services,ssl,X11,xdg
64+
private-tmp
65+
66+
dbus-user filter
67+
dbus-user.talk org.freedesktop.secrets
68+
# allow D-Bus communication with firefox for opening links
69+
dbus-user.talk org.mozilla.*
70+
dbus-system filter
71+
dbus-system.talk org.freedesktop.NetworkManager
72+
73+
restrict-namespaces

src/firecfg/firecfg.config

+1
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ flacsplt
274274
flameshot
275275
flashpeak-slimjet
276276
flowblade
277+
fluffychat
277278
font-manager
278279
fontforge
279280
fossamail

0 commit comments

Comments
 (0)