| 1 |
# Firejail profile for gdu |
| 2 |
# Description: Fast disk usage analyzer with console interface |
| 3 |
# This file is overwritten after every install/update |
| 4 |
quiet |
| 5 |
# Persistent local customizations |
| 6 |
include gdu.local |
| 7 |
# Persistent global definitions |
| 8 |
include globals.local |
| 9 |
|
| 10 |
blacklist ${RUNUSER}/wayland-* |
| 11 |
|
| 12 |
include disable-exec.inc |
| 13 |
|
| 14 |
apparmor |
| 15 |
caps.drop all |
| 16 |
ipc-namespace |
| 17 |
machine-id |
| 18 |
net none |
| 19 |
no3d |
| 20 |
nodvd |
| 21 |
nogroups |
| 22 |
noinput |
| 23 |
nonewprivs |
| 24 |
noroot |
| 25 |
nosound |
| 26 |
notv |
| 27 |
nou2f |
| 28 |
novideo |
| 29 |
# block socket syscall to simulate empty protocol option (see #639) |
| 30 |
seccomp socket |
| 31 |
seccomp.block-secondary |
| 32 |
x11 none |
| 33 |
|
| 34 |
private-dev |
| 35 |
|
| 36 |
dbus-user none |
| 37 |
dbus-system none |
| 38 |
|
| 39 |
memory-deny-write-execute |
| 40 |
restrict-namespaces |
| 41 |
|
| 42 |
# gdu has built-in delete (d), empty (e) dir/file support and shell spawning (b) features. |
| 43 |
# Depending on workflow and use case the sandbox can be hardened by adding the |
| 44 |
# lines below to your gdu.local if you don't need/want these functionalities. |
| 45 |
#include disable-shell.inc |
| 46 |
#private-bin gdu |
| 47 |
#read-only ${HOME} |