aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-common.inc1
-rw-r--r--etc/inc/disable-programs.inc4
-rw-r--r--etc/profile-a-l/DiscordPTB.profile10
-rw-r--r--etc/profile-a-l/agetpkg.profile1
-rw-r--r--etc/profile-a-l/ani-cli.profile2
-rw-r--r--etc/profile-a-l/archiver-common.profile1
-rw-r--r--etc/profile-a-l/chafa.profile1
-rw-r--r--etc/profile-a-l/discord-ptb.profile17
-rw-r--r--etc/profile-a-l/engrampa.profile4
-rw-r--r--etc/profile-a-l/file-roller.profile5
-rw-r--r--etc/profile-a-l/file.profile1
-rw-r--r--etc/profile-a-l/galculator.profile1
-rw-r--r--etc/profile-a-l/gallery-dl.profile2
-rw-r--r--etc/profile-a-l/gdu.profile2
-rw-r--r--etc/profile-a-l/geekbench.profile1
-rw-r--r--etc/profile-a-l/jami.profile18
-rw-r--r--etc/profile-a-l/keepassxc.profile1
-rw-r--r--etc/profile-m-z/Postman.profile10
-rw-r--r--etc/profile-m-z/mdr.profile1
-rw-r--r--etc/profile-m-z/microsoft-edge-beta.profile5
-rw-r--r--etc/profile-m-z/microsoft-edge-dev.profile5
-rw-r--r--etc/profile-m-z/microsoft-edge-stable.profile11
-rw-r--r--etc/profile-m-z/microsoft-edge.profile5
-rw-r--r--etc/profile-m-z/pngquant.profile2
-rw-r--r--etc/profile-m-z/postman.profile28
-rw-r--r--etc/profile-m-z/qpdf.profile3
-rw-r--r--etc/profile-m-z/tesseract.profile1
-rw-r--r--etc/profile-m-z/tutanota-desktop.profile21
-rw-r--r--etc/profile-m-z/unf.profile1
-rw-r--r--etc/profile-m-z/uudeview.profile1
-rw-r--r--etc/profile-m-z/whois.profile1
-rw-r--r--etc/profile-m-z/youtube-dl.profile58
-rw-r--r--etc/profile-m-z/yt-dlp.profile68
33 files changed, 214 insertions, 79 deletions
diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc
index 65159b951..5f4233363 100644
--- a/etc/inc/disable-common.inc
+++ b/etc/inc/disable-common.inc
@@ -556,6 +556,7 @@ blacklist ${PATH}/ss
556blacklist ${PATH}/traceroute 556blacklist ${PATH}/traceroute
557 557
558# other SUID binaries 558# other SUID binaries
559blacklist /opt/microsoft/msedge*/msedge-sandbox
559blacklist /usr/lib/virtualbox 560blacklist /usr/lib/virtualbox
560blacklist /usr/lib64/virtualbox 561blacklist /usr/lib64/virtualbox
561 562
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 40c123968..c7e2f2ca9 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -320,6 +320,7 @@ blacklist ${HOME}/.config/PacmanLogViewer
320blacklist ${HOME}/.config/PawelStolowski 320blacklist ${HOME}/.config/PawelStolowski
321blacklist ${HOME}/.config/Philipp Schmieder 321blacklist ${HOME}/.config/Philipp Schmieder
322blacklist ${HOME}/.config/Pinta 322blacklist ${HOME}/.config/Pinta
323blacklist ${HOME}/.config/Postman
323blacklist ${HOME}/.config/QGIS 324blacklist ${HOME}/.config/QGIS
324blacklist ${HOME}/.config/QMediathekView 325blacklist ${HOME}/.config/QMediathekView
325blacklist ${HOME}/.config/QQ 326blacklist ${HOME}/.config/QQ
@@ -412,6 +413,7 @@ blacklist ${HOME}/.config/digikam
412blacklist ${HOME}/.config/digikamrc 413blacklist ${HOME}/.config/digikamrc
413blacklist ${HOME}/.config/discord 414blacklist ${HOME}/.config/discord
414blacklist ${HOME}/.config/discordcanary 415blacklist ${HOME}/.config/discordcanary
416blacklist ${HOME}/.config/discordptb
415blacklist ${HOME}/.config/dkl 417blacklist ${HOME}/.config/dkl
416blacklist ${HOME}/.config/dnox 418blacklist ${HOME}/.config/dnox
417blacklist ${HOME}/.config/dolphin-emu 419blacklist ${HOME}/.config/dolphin-emu
@@ -479,6 +481,7 @@ blacklist ${HOME}/.config/inox
479blacklist ${HOME}/.config/iridium 481blacklist ${HOME}/.config/iridium
480blacklist ${HOME}/.config/itch 482blacklist ${HOME}/.config/itch
481blacklist ${HOME}/.config/jami 483blacklist ${HOME}/.config/jami
484blacklist ${HOME}/.config/jami.net
482blacklist ${HOME}/.config/jd-gui.cfg 485blacklist ${HOME}/.config/jd-gui.cfg
483blacklist ${HOME}/.config/jgit 486blacklist ${HOME}/.config/jgit
484blacklist ${HOME}/.config/k3brc 487blacklist ${HOME}/.config/k3brc
@@ -1182,6 +1185,7 @@ blacklist ${HOME}/Arduino
1182blacklist ${HOME}/Monero/wallets 1185blacklist ${HOME}/Monero/wallets
1183blacklist ${HOME}/Nextcloud 1186blacklist ${HOME}/Nextcloud
1184blacklist ${HOME}/Nextcloud/Notes 1187blacklist ${HOME}/Nextcloud/Notes
1188blacklist ${HOME}/Postman
1185blacklist ${HOME}/Seafile/.seafile-data 1189blacklist ${HOME}/Seafile/.seafile-data
1186blacklist ${HOME}/SoftMaker 1190blacklist ${HOME}/SoftMaker
1187blacklist ${HOME}/Standard Notes Backups 1191blacklist ${HOME}/Standard Notes Backups
diff --git a/etc/profile-a-l/DiscordPTB.profile b/etc/profile-a-l/DiscordPTB.profile
new file mode 100644
index 000000000..4570f0103
--- /dev/null
+++ b/etc/profile-a-l/DiscordPTB.profile
@@ -0,0 +1,10 @@
1# Firejail profile for DiscordPTB
2# This file is overwritten after every install/update
3# Persistent local customizations
4include DiscordPTB.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9# Redirect
10include discord-ptb.profile
diff --git a/etc/profile-a-l/agetpkg.profile b/etc/profile-a-l/agetpkg.profile
index 7a36302f1..9ebbf1cb0 100644
--- a/etc/profile-a-l/agetpkg.profile
+++ b/etc/profile-a-l/agetpkg.profile
@@ -28,7 +28,6 @@ include whitelist-usr-share-common.inc
28include whitelist-var-common.inc 28include whitelist-var-common.inc
29 29
30caps.drop all 30caps.drop all
31hostname agetpkg
32ipc-namespace 31ipc-namespace
33machine-id 32machine-id
34netfilter 33netfilter
diff --git a/etc/profile-a-l/ani-cli.profile b/etc/profile-a-l/ani-cli.profile
index 270dffaed..231b5bca0 100644
--- a/etc/profile-a-l/ani-cli.profile
+++ b/etc/profile-a-l/ani-cli.profile
@@ -30,7 +30,7 @@ noprinters
30notv 30notv
31 31
32disable-mnt 32disable-mnt
33private-bin ani-cli,aria2c,cat,cp,curl,cut,ffmpeg,fzf,grep,head,mkdir,mv,nl,sed,sh,sort,tput,tr,uname,wc 33private-bin ani-cli,aria2c,cat,cp,curl,cut,ffmpeg,fzf,grep,head,mkdir,mv,nl,nohup,patch,sed,sh,sort,tail,tput,tr,uname,wc
34#private-cache 34#private-cache
35private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,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 35private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,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
36private-tmp 36private-tmp
diff --git a/etc/profile-a-l/archiver-common.profile b/etc/profile-a-l/archiver-common.profile
index ef875c5b7..487e0c5f8 100644
--- a/etc/profile-a-l/archiver-common.profile
+++ b/etc/profile-a-l/archiver-common.profile
@@ -23,7 +23,6 @@ include disable-shell.inc
23 23
24apparmor 24apparmor
25caps.drop all 25caps.drop all
26hostname archiver
27ipc-namespace 26ipc-namespace
28machine-id 27machine-id
29net none 28net none
diff --git a/etc/profile-a-l/chafa.profile b/etc/profile-a-l/chafa.profile
index 72f79681d..f21a34f36 100644
--- a/etc/profile-a-l/chafa.profile
+++ b/etc/profile-a-l/chafa.profile
@@ -39,6 +39,7 @@ nosound
39notv 39notv
40nou2f 40nou2f
41novideo 41novideo
42# block socket syscall to simulate empty protocol option (see #639)
42seccomp socket 43seccomp socket
43seccomp.block-secondary 44seccomp.block-secondary
44tracelog 45tracelog
diff --git a/etc/profile-a-l/discord-ptb.profile b/etc/profile-a-l/discord-ptb.profile
new file mode 100644
index 000000000..c39c0d843
--- /dev/null
+++ b/etc/profile-a-l/discord-ptb.profile
@@ -0,0 +1,17 @@
1# Firejail profile for discord-ptb
2# This file is overwritten after every install/update
3# Persistent local customizations
4include discord-ptb.local
5# Persistent global definitions
6include globals.local
7
8noblacklist ${HOME}/.config/discordptb
9
10mkdir ${HOME}/.config/discordptb
11whitelist ${HOME}/.config/discordptb
12
13private-bin discord-ptb,DiscordPTB
14private-opt discord-ptb,DiscordPTB
15
16# Redirect
17include discord-common.profile
diff --git a/etc/profile-a-l/engrampa.profile b/etc/profile-a-l/engrampa.profile
index 1118c3bf0..e1d107dc7 100644
--- a/etc/profile-a-l/engrampa.profile
+++ b/etc/profile-a-l/engrampa.profile
@@ -10,18 +10,21 @@ include disable-common.inc
10include disable-devel.inc 10include disable-devel.inc
11include disable-exec.inc 11include disable-exec.inc
12include disable-interpreters.inc 12include disable-interpreters.inc
13include disable-proc.inc
13include disable-programs.inc 14include disable-programs.inc
14 15
15include whitelist-var-common.inc 16include whitelist-var-common.inc
16 17
17apparmor 18apparmor
18caps.drop all 19caps.drop all
20machine-id
19net none 21net none
20no3d 22no3d
21nodvd 23nodvd
22nogroups 24nogroups
23noinput 25noinput
24nonewprivs 26nonewprivs
27noprinters
25noroot 28noroot
26nosound 29nosound
27notv 30notv
@@ -29,6 +32,7 @@ nou2f
29novideo 32novideo
30protocol unix 33protocol unix
31seccomp 34seccomp
35seccomp.block-secondary
32tracelog 36tracelog
33 37
34# private-bin engrampa 38# private-bin engrampa
diff --git a/etc/profile-a-l/file-roller.profile b/etc/profile-a-l/file-roller.profile
index 4f39bec55..78e2751b3 100644
--- a/etc/profile-a-l/file-roller.profile
+++ b/etc/profile-a-l/file-roller.profile
@@ -29,6 +29,7 @@ nodvd
29nogroups 29nogroups
30noinput 30noinput
31nonewprivs 31nonewprivs
32noprinters
32noroot 33noroot
33nosound 34nosound
34notv 35notv
@@ -45,6 +46,10 @@ private-dev
45private-etc @x11 46private-etc @x11
46# private-tmp 47# private-tmp
47 48
49dbus-user filter
50dbus-user.own org.gnome.ArchiveManager1
51dbus-user.own org.gnome.FileRoller
52dbus-user.talk ca.desrt.dconf
48dbus-system none 53dbus-system none
49 54
50restrict-namespaces 55restrict-namespaces
diff --git a/etc/profile-a-l/file.profile b/etc/profile-a-l/file.profile
index a5fd05bc7..78f1327c5 100644
--- a/etc/profile-a-l/file.profile
+++ b/etc/profile-a-l/file.profile
@@ -15,7 +15,6 @@ include disable-programs.inc
15 15
16apparmor 16apparmor
17caps.drop all 17caps.drop all
18hostname file
19ipc-namespace 18ipc-namespace
20machine-id 19machine-id
21net none 20net none
diff --git a/etc/profile-a-l/galculator.profile b/etc/profile-a-l/galculator.profile
index 96ded592d..44d62cc86 100644
--- a/etc/profile-a-l/galculator.profile
+++ b/etc/profile-a-l/galculator.profile
@@ -23,7 +23,6 @@ include whitelist-var-common.inc
23 23
24apparmor 24apparmor
25caps.drop all 25caps.drop all
26#hostname galculator - breaks Arch Linux
27#ipc-namespace 26#ipc-namespace
28net none 27net none
29nodvd 28nodvd
diff --git a/etc/profile-a-l/gallery-dl.profile b/etc/profile-a-l/gallery-dl.profile
index 9c8200dc4..9643820e7 100644
--- a/etc/profile-a-l/gallery-dl.profile
+++ b/etc/profile-a-l/gallery-dl.profile
@@ -15,4 +15,4 @@ private-bin gallery-dl
15private-etc gallery-dl.conf 15private-etc gallery-dl.conf
16 16
17# Redirect 17# Redirect
18include youtube-dl.profile 18include yt-dlp.profile
diff --git a/etc/profile-a-l/gdu.profile b/etc/profile-a-l/gdu.profile
index 4eb94edf4..4066a1ebf 100644
--- a/etc/profile-a-l/gdu.profile
+++ b/etc/profile-a-l/gdu.profile
@@ -26,7 +26,7 @@ nosound
26notv 26notv
27nou2f 27nou2f
28novideo 28novideo
29# block the socket syscall to simulate an be empty protocol line, see #639 29# block socket syscall to simulate empty protocol option (see #639)
30seccomp socket 30seccomp socket
31seccomp.block-secondary 31seccomp.block-secondary
32x11 none 32x11 none
diff --git a/etc/profile-a-l/geekbench.profile b/etc/profile-a-l/geekbench.profile
index 3a929774a..e8d4c013f 100644
--- a/etc/profile-a-l/geekbench.profile
+++ b/etc/profile-a-l/geekbench.profile
@@ -25,7 +25,6 @@ include whitelist-var-common.inc
25 25
26apparmor 26apparmor
27caps.drop all 27caps.drop all
28hostname geekbench
29ipc-namespace 28ipc-namespace
30machine-id 29machine-id
31netfilter 30netfilter
diff --git a/etc/profile-a-l/jami.profile b/etc/profile-a-l/jami.profile
new file mode 100644
index 000000000..deff54bcd
--- /dev/null
+++ b/etc/profile-a-l/jami.profile
@@ -0,0 +1,18 @@
1# Firejail profile for jami
2# Description: An encrypted peer-to-peer messenger
3# This file is overwritten after every install/update
4# Persistent local customizations
5include jami.local
6# Persistent global definitions
7# added by caller profile
8#include globals.local
9
10noblacklist ${HOME}/.config/jami.net
11
12mkdir ${HOME}/.config/jami.net
13mkdir ${HOME}/Videos/Jami
14whitelist ${HOME}/.config/jami.net
15whitelist ${HOME}/Videos/Jami
16
17# Redirect
18include jami-gnome.profile
diff --git a/etc/profile-a-l/keepassxc.profile b/etc/profile-a-l/keepassxc.profile
index f7959ca81..4e8c8e449 100644
--- a/etc/profile-a-l/keepassxc.profile
+++ b/etc/profile-a-l/keepassxc.profile
@@ -93,6 +93,7 @@ private-etc
93private-tmp 93private-tmp
94 94
95dbus-user filter 95dbus-user filter
96dbus-user.own org.freedesktop.secrets
96dbus-user.own org.keepassxc.KeePassXC.* 97dbus-user.own org.keepassxc.KeePassXC.*
97dbus-user.talk com.canonical.Unity 98dbus-user.talk com.canonical.Unity
98dbus-user.talk org.freedesktop.ScreenSaver 99dbus-user.talk org.freedesktop.ScreenSaver
diff --git a/etc/profile-m-z/Postman.profile b/etc/profile-m-z/Postman.profile
new file mode 100644
index 000000000..d08acf60b
--- /dev/null
+++ b/etc/profile-m-z/Postman.profile
@@ -0,0 +1,10 @@
1# Firejail profile for Postman
2# This file is overwritten after every install/update
3# Persistent local customizations
4include Postman.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9# Redirect
10include postman.profile
diff --git a/etc/profile-m-z/mdr.profile b/etc/profile-m-z/mdr.profile
index d3b3c6d48..7b83d61e1 100644
--- a/etc/profile-m-z/mdr.profile
+++ b/etc/profile-m-z/mdr.profile
@@ -21,7 +21,6 @@ include whitelist-var-common.inc
21 21
22apparmor 22apparmor
23caps.drop all 23caps.drop all
24hostname mdr
25ipc-namespace 24ipc-namespace
26machine-id 25machine-id
27net none 26net none
diff --git a/etc/profile-m-z/microsoft-edge-beta.profile b/etc/profile-m-z/microsoft-edge-beta.profile
index 63844ad70..6843c11c7 100644
--- a/etc/profile-m-z/microsoft-edge-beta.profile
+++ b/etc/profile-m-z/microsoft-edge-beta.profile
@@ -1,5 +1,5 @@
1# Firejail profile for Microsoft Edge Beta 1# Firejail profile for Microsoft Edge Beta
2# Description: Web browser from Microsoft,beta channel 2# Description: Web browser from Microsoft, beta channel
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include microsoft-edge-beta.local 5include microsoft-edge-beta.local
@@ -8,6 +8,7 @@ include globals.local
8 8
9noblacklist ${HOME}/.cache/microsoft-edge-beta 9noblacklist ${HOME}/.cache/microsoft-edge-beta
10noblacklist ${HOME}/.config/microsoft-edge-beta 10noblacklist ${HOME}/.config/microsoft-edge-beta
11noblacklist /opt/microsoft/msedge-beta/msedge-sandbox
11 12
12mkdir ${HOME}/.cache/microsoft-edge-beta 13mkdir ${HOME}/.cache/microsoft-edge-beta
13mkdir ${HOME}/.config/microsoft-edge-beta 14mkdir ${HOME}/.config/microsoft-edge-beta
@@ -15,6 +16,8 @@ whitelist ${HOME}/.cache/microsoft-edge-beta
15whitelist ${HOME}/.config/microsoft-edge-beta 16whitelist ${HOME}/.config/microsoft-edge-beta
16 17
17whitelist /opt/microsoft/msedge-beta 18whitelist /opt/microsoft/msedge-beta
19# private-opt might break the file-copy-limit, see #5307
20#private-opt microsoft
18 21
19# Redirect 22# Redirect
20include chromium-common.profile 23include chromium-common.profile
diff --git a/etc/profile-m-z/microsoft-edge-dev.profile b/etc/profile-m-z/microsoft-edge-dev.profile
index b01fd7c25..b9cdaf98b 100644
--- a/etc/profile-m-z/microsoft-edge-dev.profile
+++ b/etc/profile-m-z/microsoft-edge-dev.profile
@@ -1,5 +1,5 @@
1# Firejail profile for Microsoft Edge Dev 1# Firejail profile for Microsoft Edge Dev
2# Description: Web browser from Microsoft,dev channel 2# Description: Web browser from Microsoft, dev channel
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include microsoft-edge-dev.local 5include microsoft-edge-dev.local
@@ -8,6 +8,7 @@ include globals.local
8 8
9noblacklist ${HOME}/.cache/microsoft-edge-dev 9noblacklist ${HOME}/.cache/microsoft-edge-dev
10noblacklist ${HOME}/.config/microsoft-edge-dev 10noblacklist ${HOME}/.config/microsoft-edge-dev
11noblacklist /opt/microsoft/msedge-dev/msedge-sandbox
11 12
12mkdir ${HOME}/.cache/microsoft-edge-dev 13mkdir ${HOME}/.cache/microsoft-edge-dev
13mkdir ${HOME}/.config/microsoft-edge-dev 14mkdir ${HOME}/.config/microsoft-edge-dev
@@ -15,6 +16,8 @@ whitelist ${HOME}/.cache/microsoft-edge-dev
15whitelist ${HOME}/.config/microsoft-edge-dev 16whitelist ${HOME}/.config/microsoft-edge-dev
16 17
17whitelist /opt/microsoft/msedge-dev 18whitelist /opt/microsoft/msedge-dev
19# private-opt might break file-copy-limit, see #5307
20#private-opt microsoft
18 21
19# Redirect 22# Redirect
20include chromium-common.profile 23include chromium-common.profile
diff --git a/etc/profile-m-z/microsoft-edge-stable.profile b/etc/profile-m-z/microsoft-edge-stable.profile
new file mode 100644
index 000000000..c5b2b4301
--- /dev/null
+++ b/etc/profile-m-z/microsoft-edge-stable.profile
@@ -0,0 +1,11 @@
1# Firejail profile for Microsoft Edge Stable
2# Description: Web browser from Microsoft, stable channel
3# This file is overwritten after every install/update
4# Persistent local customizations
5include microsoft-edge-stable.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10# Redirect
11include microsoft-edge.profile
diff --git a/etc/profile-m-z/microsoft-edge.profile b/etc/profile-m-z/microsoft-edge.profile
index 4cd8c85a5..ededb9cbd 100644
--- a/etc/profile-m-z/microsoft-edge.profile
+++ b/etc/profile-m-z/microsoft-edge.profile
@@ -1,5 +1,5 @@
1# Firejail profile for Microsoft Edge 1# Firejail profile for Microsoft Edge
2# Description: Web browser from Microsoft,stable channel 2# Description: Web browser from Microsoft, stable channel
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include microsoft-edge.local 5include microsoft-edge.local
@@ -8,6 +8,7 @@ include globals.local
8 8
9noblacklist ${HOME}/.cache/microsoft-edge 9noblacklist ${HOME}/.cache/microsoft-edge
10noblacklist ${HOME}/.config/microsoft-edge 10noblacklist ${HOME}/.config/microsoft-edge
11noblacklist /opt/microsoft/msedge/msedge-sandbox
11 12
12mkdir ${HOME}/.cache/microsoft-edge 13mkdir ${HOME}/.cache/microsoft-edge
13mkdir ${HOME}/.config/microsoft-edge 14mkdir ${HOME}/.config/microsoft-edge
@@ -15,6 +16,8 @@ whitelist ${HOME}/.cache/microsoft-edge
15whitelist ${HOME}/.config/microsoft-edge 16whitelist ${HOME}/.config/microsoft-edge
16 17
17whitelist /opt/microsoft/msedge 18whitelist /opt/microsoft/msedge
19# private-opt might break default file-copy-limit, see #5307
20#private-opt microsoft
18 21
19# Redirect 22# Redirect
20include chromium-common.profile 23include chromium-common.profile
diff --git a/etc/profile-m-z/pngquant.profile b/etc/profile-m-z/pngquant.profile
index 34199a08d..481bade92 100644
--- a/etc/profile-m-z/pngquant.profile
+++ b/etc/profile-m-z/pngquant.profile
@@ -38,7 +38,7 @@ nosound
38notv 38notv
39nou2f 39nou2f
40novideo 40novideo
41# block the socket syscall to simulate an be empty protocol line, see #639 41# block socket syscall to simulate empty protocol option (see #639)
42seccomp socket 42seccomp socket
43tracelog 43tracelog
44x11 none 44x11 none
diff --git a/etc/profile-m-z/postman.profile b/etc/profile-m-z/postman.profile
new file mode 100644
index 000000000..c8f00584d
--- /dev/null
+++ b/etc/profile-m-z/postman.profile
@@ -0,0 +1,28 @@
1# Firejail profile for postman
2# Description: API testing platform
3# This file is overwritten after every install/update
4# Persistent local customizations
5include postman.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/Postman
10noblacklist ${HOME}/Postman
11
12mkdir ${HOME}/.config/Postman
13mkdir ${HOME}/Postman
14whitelist ${HOME}/.config/Postman
15whitelist ${HOME}/Postman
16include whitelist-run-common.inc
17
18protocol unix,inet,inet6,netlink
19
20private-bin electron,electron[0-9],electron[0-9][0-9],locale,node,Postman,postman,sh
21private-etc alternatives,ca-certificates,crypto-policies,fonts,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,nsswitch.conf,pki,resolv.conf,ssl
22# private-opt breaks file-copy-limit, use a whitelist instead of draining RAM
23# https://github.com/netblue30/firejail/discussions/5307
24#private-opt postman
25whitelist /opt/postman
26
27# Redirect
28include electron-common.profile
diff --git a/etc/profile-m-z/qpdf.profile b/etc/profile-m-z/qpdf.profile
index 0c1e09e92..edec7cf0a 100644
--- a/etc/profile-m-z/qpdf.profile
+++ b/etc/profile-m-z/qpdf.profile
@@ -31,7 +31,6 @@ include whitelist-var-common.inc
31 31
32apparmor 32apparmor
33caps.drop all 33caps.drop all
34hostname qpdf
35ipc-namespace 34ipc-namespace
36machine-id 35machine-id
37net none 36net none
@@ -46,7 +45,7 @@ nosound
46notv 45notv
47nou2f 46nou2f
48novideo 47novideo
49# block the socket syscall to simulate an be empty protocol line, see #639 48# block socket syscall to simulate empty protocol option (see #639)
50seccomp socket 49seccomp socket
51tracelog 50tracelog
52x11 none 51x11 none
diff --git a/etc/profile-m-z/tesseract.profile b/etc/profile-m-z/tesseract.profile
index 54568b7d3..5babfb8d2 100644
--- a/etc/profile-m-z/tesseract.profile
+++ b/etc/profile-m-z/tesseract.profile
@@ -31,7 +31,6 @@ include whitelist-var-common.inc
31 31
32apparmor 32apparmor
33caps.drop all 33caps.drop all
34hostname tesseract
35ipc-namespace 34ipc-namespace
36machine-id 35machine-id
37net none 36net none
diff --git a/etc/profile-m-z/tutanota-desktop.profile b/etc/profile-m-z/tutanota-desktop.profile
index 4af8b9292..4793e9dbb 100644
--- a/etc/profile-m-z/tutanota-desktop.profile
+++ b/etc/profile-m-z/tutanota-desktop.profile
@@ -1,5 +1,5 @@
1# Firejail profile for tutanota-desktop 1# Firejail profile for tutanota-desktop
2# Description: Encrypted email client 2# Description: Official desktop client for the Tutanota E2E encrypted email provider
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include tutanota-desktop.local 5include tutanota-desktop.local
@@ -9,8 +9,13 @@ include globals.local
9noblacklist ${HOME}/.config/tuta_integration 9noblacklist ${HOME}/.config/tuta_integration
10noblacklist ${HOME}/.config/tutanota-desktop 10noblacklist ${HOME}/.config/tutanota-desktop
11 11
12ignore dbus-user none
13ignore disable-mnt
12ignore noexec /tmp 14ignore noexec /tmp
13 15
16# sh is needed to allow Firefox to open links
17include allow-bin-sh.inc
18
14include disable-shell.inc 19include disable-shell.inc
15 20
16mkdir ${HOME}/.config/tuta_integration 21mkdir ${HOME}/.config/tuta_integration
@@ -18,14 +23,26 @@ mkdir ${HOME}/.config/tutanota-desktop
18whitelist ${HOME}/.config/tuta_integration 23whitelist ${HOME}/.config/tuta_integration
19whitelist ${HOME}/.config/tutanota-desktop 24whitelist ${HOME}/.config/tutanota-desktop
20 25
21# These lines are needed to allow Firefox to open links 26# The lines below are needed to find the default Firefox profile name, to allow
27# opening links in an existing instance of Firefox (note that it still fails if
28# there isn't a Firefox instance running with the default profile; see #5352)
22noblacklist ${HOME}/.mozilla 29noblacklist ${HOME}/.mozilla
23whitelist ${HOME}/.mozilla/firefox/profiles.ini 30whitelist ${HOME}/.mozilla/firefox/profiles.ini
24read-only ${HOME}/.mozilla/firefox/profiles.ini 31read-only ${HOME}/.mozilla/firefox/profiles.ini
25 32
33machine-id
34nosound
35
26?HAS_APPIMAGE: ignore private-dev 36?HAS_APPIMAGE: ignore private-dev
27private-etc @tls-ca 37private-etc @tls-ca
28private-opt tutanota-desktop 38private-opt tutanota-desktop
29 39
40dbus-user filter
41dbus-user.talk org.freedesktop.Notifications
42dbus-user.talk org.freedesktop.secrets
43dbus-user.talk org.gnome.keyring.SystemPrompter
44# allow D-Bus communication with firefox for opening links
45dbus-user.talk org.mozilla.*
46
30# Redirect 47# Redirect
31include electron-common.profile 48include electron-common.profile
diff --git a/etc/profile-m-z/unf.profile b/etc/profile-m-z/unf.profile
index aac99aed5..cdfd72a5b 100644
--- a/etc/profile-m-z/unf.profile
+++ b/etc/profile-m-z/unf.profile
@@ -24,7 +24,6 @@ include whitelist-var-common.inc
24 24
25apparmor 25apparmor
26caps.drop all 26caps.drop all
27hostname unf
28ipc-namespace 27ipc-namespace
29machine-id 28machine-id
30net none 29net none
diff --git a/etc/profile-m-z/uudeview.profile b/etc/profile-m-z/uudeview.profile
index a6d2a65e9..9a9915669 100644
--- a/etc/profile-m-z/uudeview.profile
+++ b/etc/profile-m-z/uudeview.profile
@@ -19,7 +19,6 @@ include disable-shell.inc
19include whitelist-usr-share-common.inc 19include whitelist-usr-share-common.inc
20 20
21caps.drop all 21caps.drop all
22hostname uudeview
23ipc-namespace 22ipc-namespace
24machine-id 23machine-id
25net none 24net none
diff --git a/etc/profile-m-z/whois.profile b/etc/profile-m-z/whois.profile
index 8958564ef..8265e1ff8 100644
--- a/etc/profile-m-z/whois.profile
+++ b/etc/profile-m-z/whois.profile
@@ -22,7 +22,6 @@ include whitelist-var-common.inc
22 22
23apparmor 23apparmor
24caps.drop all 24caps.drop all
25hostname whois
26ipc-namespace 25ipc-namespace
27machine-id 26machine-id
28netfilter 27netfilter
diff --git a/etc/profile-m-z/youtube-dl.profile b/etc/profile-m-z/youtube-dl.profile
index 8376b4989..9e81d745d 100644
--- a/etc/profile-m-z/youtube-dl.profile
+++ b/etc/profile-m-z/youtube-dl.profile
@@ -5,63 +5,17 @@ quiet
5# Persistent local customizations 5# Persistent local customizations
6include youtube-dl.local 6include youtube-dl.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8# added by included profile
9 9#include globals.local
10# breaks when installed under ${HOME} via `pip install --user` (see #2833)
11ignore noexec ${HOME}
12 10
13noblacklist ${HOME}/.cache/youtube-dl 11noblacklist ${HOME}/.cache/youtube-dl
14noblacklist ${HOME}/.config/youtube-dl 12noblacklist ${HOME}/.config/youtube-dl
15noblacklist ${HOME}/.netrc
16noblacklist ${MUSIC}
17noblacklist ${VIDEOS}
18 13
19# Allow python (blacklisted by disable-interpreters.inc) 14# Allow python (blacklisted by disable-interpreters.inc)
20include allow-python2.inc 15include allow-python2.inc
21include allow-python3.inc
22
23blacklist /tmp/.X11-unix
24blacklist ${RUNUSER}
25
26include disable-common.inc
27include disable-devel.inc
28include disable-exec.inc
29include disable-interpreters.inc
30include disable-programs.inc
31include disable-shell.inc
32include disable-xdg.inc
33
34include whitelist-usr-share-common.inc
35include whitelist-var-common.inc
36
37apparmor
38caps.drop all
39ipc-namespace
40machine-id
41netfilter
42no3d
43nodvd
44nogroups
45noinput
46nonewprivs
47noroot
48nosound
49notv
50nou2f
51novideo
52protocol unix,inet,inet6
53seccomp
54seccomp.block-secondary
55tracelog
56
57private-bin env,ffmpeg,python*,youtube-dl
58private-cache
59private-dev
60private-etc @tls-ca,mime.types,youtube-dl.conf
61private-tmp
62 16
63dbus-user none 17private-bin youtube-dl
64dbus-system none 18private-etc youtube-dl.conf
65 19
66#memory-deny-write-execute - breaks on Arch (see issue #1803) 20# Redirect
67restrict-namespaces 21include yt-dlp.profile
diff --git a/etc/profile-m-z/yt-dlp.profile b/etc/profile-m-z/yt-dlp.profile
index 49d4b3b56..97f9e620a 100644
--- a/etc/profile-m-z/yt-dlp.profile
+++ b/etc/profile-m-z/yt-dlp.profile
@@ -5,17 +5,73 @@ quiet
5# Persistent local customizations 5# Persistent local customizations
6include yt-dlp.local 6include yt-dlp.local
7# Persistent global definitions 7# Persistent global definitions
8# added by included profile 8include globals.local
9#include globals.local 9
10# If you installed via pip under ${HOME}
11# add 'ignore noexec ${HOME}' in yt-dlp.local.
12# AppArmor needs to allow it too,
13# add 'ignore apparmor' in yt-dlp.local
14# OR in /etc/apparmor.d/local/firejail-default add:
15# 'owner @HOME/.local/bin/** ix,'
16# 'owner @HOME/.local/lib/python*/** ix,'
17# then run the command
18# 'sudo apparmor_parser -r /etc/apparmor.d/firejail-default'
10 19
11noblacklist ${HOME}/.cache/yt-dlp 20noblacklist ${HOME}/.cache/yt-dlp
12noblacklist ${HOME}/.config/yt-dlp 21noblacklist ${HOME}/.config/yt-dlp
13noblacklist ${HOME}/.config/yt-dlp.conf 22noblacklist ${HOME}/.config/yt-dlp.conf
14noblacklist ${HOME}/yt-dlp.conf 23noblacklist ${HOME}/yt-dlp.conf
15noblacklist ${HOME}/yt-dlp.conf.txt 24noblacklist ${HOME}/yt-dlp.conf.txt
25noblacklist ${HOME}/.netrc
26noblacklist ${MUSIC}
27noblacklist ${VIDEOS}
28
29# Allow python (blacklisted by disable-interpreters.inc)
30include allow-python3.inc
31
32blacklist /tmp/.X11-unix
33blacklist ${RUNUSER}
34
35include disable-common.inc
36include disable-devel.inc
37include disable-exec.inc
38include disable-interpreters.inc
39include disable-programs.inc
40include disable-shell.inc
41include disable-xdg.inc
42
43include whitelist-usr-share-common.inc
44include whitelist-var-common.inc
45
46apparmor
47caps.drop all
48ipc-namespace
49machine-id
50netfilter
51no3d
52nodvd
53nogroups
54noinput
55nonewprivs
56noroot
57nosound
58notv
59nou2f
60novideo
61protocol unix,inet,inet6
62seccomp
63seccomp.block-secondary
64tracelog
65
66private-bin env,ffmpeg,ffprobe,python*,yt-dlp
67private-cache
68private-dev
69private-etc @tls-ca,mime.types,yt-dlp.conf
70private-tmp
71
72dbus-user none
73dbus-system none
16 74
17private-bin ffprobe,yt-dlp 75memory-deny-write-execute
18private-etc yt-dlp.conf
19 76
20# Redirect 77restrict-namespaces
21include youtube-dl.profile