| 1 |
# Firejail profile for file managers |
| 2 |
# Description: Common profile for GUI file managers |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include file-manager-common.local |
| 6 |
# Persistent global definitions |
| 7 |
# added by caller profile |
| 8 |
#include globals.local |
| 9 |
|
| 10 |
# File managers need to be able to see everything under ${HOME} |
| 11 |
# and be able to start arbitrary applications |
| 12 |
|
| 13 |
ignore noexec ${HOME} |
| 14 |
|
| 15 |
# Allow lua (blacklisted by disable-interpreters.inc) |
| 16 |
include allow-lua.inc |
| 17 |
|
| 18 |
# Allow perl (blacklisted by disable-interpreters.inc) |
| 19 |
include allow-perl.inc |
| 20 |
|
| 21 |
# Allow python (blacklisted by disable-interpreters.inc) |
| 22 |
include allow-python2.inc |
| 23 |
include allow-python3.inc |
| 24 |
|
| 25 |
#include disable-common.inc |
| 26 |
include disable-devel.inc |
| 27 |
include disable-exec.inc |
| 28 |
include disable-interpreters.inc |
| 29 |
#include disable-programs.inc |
| 30 |
|
| 31 |
allusers |
| 32 |
|
| 33 |
#apparmor |
| 34 |
caps.drop all |
| 35 |
#net none |
| 36 |
netfilter |
| 37 |
nodvd |
| 38 |
nogroups |
| 39 |
noinput |
| 40 |
nonewprivs |
| 41 |
noroot |
| 42 |
notv |
| 43 |
nou2f |
| 44 |
novideo |
| 45 |
protocol unix,inet,inet6,netlink |
| 46 |
seccomp |
| 47 |
tracelog |
| 48 |
|
| 49 |
private-dev |
| 50 |
|
| 51 |
#dbus-user none |
| 52 |
#dbus-system none |
| 53 |
|
| 54 |
restrict-namespaces |