diff options
author | rusty-snake <print_hello_world+GitHub@protonmail.com> | 2019-03-12 13:15:53 +0000 |
---|---|---|
committer | glitsj16 <glitsj16@users.noreply.github.com> | 2019-03-12 13:15:53 +0000 |
commit | c5e95ec4a680799c83036f00d48862bda60d2d26 (patch) | |
tree | 9f37a313e9824c0a595eef49221ff5f972b4c305 /etc/nomacs.profile | |
parent | Add new profiles for lrzip and friends (#2574) (diff) | |
download | firejail-c5e95ec4a680799c83036f00d48862bda60d2d26.tar.gz firejail-c5e95ec4a680799c83036f00d48862bda60d2d26.tar.zst firejail-c5e95ec4a680799c83036f00d48862bda60d2d26.zip |
Create nomacs.profile (#2535)
* Create nomacs.profile
* Fix nomacs.profile
Diffstat (limited to 'etc/nomacs.profile')
-rw-r--r-- | etc/nomacs.profile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/etc/nomacs.profile b/etc/nomacs.profile new file mode 100644 index 000000000..4bda5cbce --- /dev/null +++ b/etc/nomacs.profile | |||
@@ -0,0 +1,48 @@ | |||
1 | # Firejail profile for nomacs | ||
2 | # Description: a fast and small image viewer | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include nomacs.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/nomacs | ||
10 | noblacklist ${HOME}/.local/share/nomacs | ||
11 | noblacklist ${HOME}/.local/share/data/nomacs | ||
12 | noblacklist ${PICTURES} | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-xdg.inc | ||
20 | |||
21 | include whitelist-var-common.inc | ||
22 | |||
23 | apparmor | ||
24 | caps.drop all | ||
25 | machine-id | ||
26 | netfilter | ||
27 | nodvd | ||
28 | nogroups | ||
29 | nonewprivs | ||
30 | noroot | ||
31 | nosound | ||
32 | notv | ||
33 | nou2f | ||
34 | novideo | ||
35 | protocol unix,inet,inet6,netlink | ||
36 | seccomp | ||
37 | shell none | ||
38 | tracelog | ||
39 | |||
40 | #private-bin nomacs | ||
41 | private-cache | ||
42 | private-dev | ||
43 | private-etc alternatives,hosts,ca-certificates,ssl,pki,crypto-policies,resolv.conf,drirc,fonts,gtk-3.0,dconf,machine-id,login.defs | ||
44 | private-tmp | ||
45 | |||
46 | memory-deny-write-execute | ||
47 | noexec ${HOME} | ||
48 | noexec /tmp | ||