From 99e9c6abad405edc4db1ff7a455eaf5a498b8091 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Mon, 18 Mar 2024 14:30:26 +0000 Subject: New profile: localsend_app.profile (#6244) Description: An open source cross-platform alternative to AirDrop. https://github.com/localsend/localsend --- etc/inc/disable-programs.inc | 1 + etc/profile-a-l/localsend_app.profile | 65 +++++++++++++++++++++++++++++++++++ src/firecfg/firecfg.config | 1 + 3 files changed, 67 insertions(+) create mode 100644 etc/profile-a-l/localsend_app.profile diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 879812ad6..6c4e782c6 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -988,6 +988,7 @@ blacklist ${HOME}/.local/share/liferea blacklist ${HOME}/.local/share/linphone blacklist ${HOME}/.local/share/lobster blacklist ${HOME}/.local/share/local-mail +blacklist ${HOME}/.local/share/localsend_app blacklist ${HOME}/.local/share/lollypop blacklist ${HOME}/.local/share/love blacklist ${HOME}/.local/share/lugaru diff --git a/etc/profile-a-l/localsend_app.profile b/etc/profile-a-l/localsend_app.profile new file mode 100644 index 000000000..e9dbb0607 --- /dev/null +++ b/etc/profile-a-l/localsend_app.profile @@ -0,0 +1,65 @@ +# Firejail profile for localsend_app +# Description: An open source cross-platform alternative to AirDrop +# This file is overwritten after every install/update +# Persistent local customizations +include localsend_app.local +# Persistent global definitions +include globals.local + +blacklist /usr/libexec + +noblacklist ${HOME}/.local/share/localsend_app + +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-proc.inc +include disable-programs.inc +include disable-shell.inc +#include disable-xdg.inc + +#mkdir ${HOME}/.local/share/localsend_app +#whitelist ${HOME}/.local/share/localsend_app +#whitelist ${DOWNLOADS} +#whitelist /usr/share/localsend_app +#include whitelist-common.inc +include whitelist-run-common.inc +include whitelist-runuser-common.inc +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +apparmor +caps.drop all +ipc-namespace +machine-id +netfilter +#no3d +nodvd +nogroups +noinput +nonewprivs +noprinters +noroot +nosound +notv +nou2f +novideo +protocol unix,inet,inet6 +seccomp +seccomp.block-secondary +tracelog + +private-bin localsend_app +private-cache +private-dev +private-etc @network,@tls-ca +private-tmp + +dbus-user none +dbus-system none + +read-only ${HOME} +read-write ${HOME}/.local/share/localsend_app +read-write ${DOWNLOADS} +restrict-namespaces diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 7d20bdb9c..79f425c51 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config @@ -512,6 +512,7 @@ lmms lobase lobster localc +localsend_app lodraw loffice lofromtemplate -- cgit v1.2.3-54-g00ecf