aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--etc/profile-a-l/gdu.profile46
-rw-r--r--src/firecfg/firecfg.config1
3 files changed, 48 insertions, 1 deletions
diff --git a/README.md b/README.md
index 22fd03b9f..5a0991294 100644
--- a/README.md
+++ b/README.md
@@ -221,4 +221,4 @@ Stats:
221 221
222### New profiles: 222### New profiles:
223 223
224onionshare, onionshare-cli, opera-developer, songrec 224onionshare, onionshare-cli, opera-developer, songrec, gdu
diff --git a/etc/profile-a-l/gdu.profile b/etc/profile-a-l/gdu.profile
new file mode 100644
index 000000000..783183bea
--- /dev/null
+++ b/etc/profile-a-l/gdu.profile
@@ -0,0 +1,46 @@
1# Firejail profile for gdu
2# Description: Fast disk usage analyzer with console interface
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include gdu.local
7# Persistent global definitions
8include globals.local
9
10blacklist ${RUNUSER}/wayland-*
11
12include disable-exec.inc
13
14apparmor
15caps.drop all
16ipc-namespace
17machine-id
18net none
19no3d
20nodvd
21nogroups
22noinput
23nonewprivs
24noroot
25nosound
26notv
27nou2f
28novideo
29# block the socket syscall to simulate an be empty protocol line, see #639
30seccomp socket
31seccomp.block-secondary
32x11 none
33
34private-dev
35
36dbus-user none
37dbus-system none
38
39memory-deny-write-execute
40
41# gdu has built-in delete (d), empty (e) dir/file support and shell spawning (b) features.
42# Depending on workflow and use case the sandbox can be hardened by adding the
43# lines below to your gdu.local if you don't need/want these functionalities.
44#include disable-shell.inc
45#private-bin gdu
46#read-only ${HOME}
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 71cec5eaf..1e10258d5 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -289,6 +289,7 @@ gapplication
289gcalccmd 289gcalccmd
290gcloud 290gcloud
291gconf-editor 291gconf-editor
292gdu
292geany 293geany
293geary 294geary
294gedit 295gedit