From c5e95ec4a680799c83036f00d48862bda60d2d26 Mon Sep 17 00:00:00 2001 From: rusty-snake Date: Tue, 12 Mar 2019 13:15:53 +0000 Subject: Create nomacs.profile (#2535) * Create nomacs.profile * Fix nomacs.profile --- etc/nomacs.profile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 etc/nomacs.profile (limited to 'etc/nomacs.profile') 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 @@ +# Firejail profile for nomacs +# Description: a fast and small image viewer +# This file is overwritten after every install/update +# Persistent local customizations +include nomacs.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.config/nomacs +noblacklist ${HOME}/.local/share/nomacs +noblacklist ${HOME}/.local/share/data/nomacs +noblacklist ${PICTURES} + +include disable-common.inc +include disable-devel.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc + +include whitelist-var-common.inc + +apparmor +caps.drop all +machine-id +netfilter +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix,inet,inet6,netlink +seccomp +shell none +tracelog + +#private-bin nomacs +private-cache +private-dev +private-etc alternatives,hosts,ca-certificates,ssl,pki,crypto-policies,resolv.conf,drirc,fonts,gtk-3.0,dconf,machine-id,login.defs +private-tmp + +memory-deny-write-execute +noexec ${HOME} +noexec /tmp -- cgit v1.2.3-70-g09d2