aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2024-03-19 06:08:35 +0000
committerLibravatar GitHub <noreply@github.com>2024-03-19 06:08:35 +0000
commit161318dc2b32111150d88db4d5a39f46aa617ed7 (patch)
tree98b4bd6f750f67fac0517586f8c7e3aace51b133
parentNew profile: tvnamer.profile (#6256) (diff)
downloadfirejail-161318dc2b32111150d88db4d5a39f46aa617ed7.tar.gz
firejail-161318dc2b32111150d88db4d5a39f46aa617ed7.tar.zst
firejail-161318dc2b32111150d88db4d5a39f46aa617ed7.zip
New profile: mimetype.profile (#6247)
Description: Determines the file type. https://metacpan.org/release/File-MimeInfo https://archlinux.org/packages/extra/any/perl-file-mimeinfo/
-rw-r--r--etc/profile-m-z/mimetype.profile48
1 files changed, 48 insertions, 0 deletions
diff --git a/etc/profile-m-z/mimetype.profile b/etc/profile-m-z/mimetype.profile
new file mode 100644
index 000000000..9902da882
--- /dev/null
+++ b/etc/profile-m-z/mimetype.profile
@@ -0,0 +1,48 @@
1# Firejail profile for mimetype
2# Description: Determines the file type
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include mimetype.local
7# Persistent global definitions
8include globals.local
9
10blacklist /tmp/.X11-unix
11blacklist ${RUNUSER}/wayland-*
12
13include disable-exec.inc
14include disable-proc.inc
15
16apparmor
17caps.drop all
18ipc-namespace
19machine-id
20net none
21no3d
22nodvd
23nogroups
24noinput
25nonewprivs
26noprinters
27noroot
28nosound
29notv
30nou2f
31novideo
32protocol unix
33seccomp
34seccomp.block-secondary
35tracelog
36x11 none
37
38private-dev
39
40dbus-user none
41dbus-system none
42
43memory-deny-write-execute
44read-only ${HOME}
45read-only ${RUNUSER}
46read-only /tmp
47
48restrict-namespaces