|
| 1 | +# Firejail profile for localsend_app |
| 2 | +# Description: An open source cross-platform alternative to AirDrop |
| 3 | +# This file is overwritten after every install/update |
| 4 | +# Persistent local customizations |
| 5 | +include localsend_app.local |
| 6 | +# Persistent global definitions |
| 7 | +include globals.local |
| 8 | + |
| 9 | +blacklist /usr/libexec |
| 10 | + |
| 11 | +noblacklist ${HOME}/.local/share/localsend_app |
| 12 | + |
| 13 | +include disable-common.inc |
| 14 | +include disable-devel.inc |
| 15 | +include disable-exec.inc |
| 16 | +include disable-interpreters.inc |
| 17 | +include disable-proc.inc |
| 18 | +include disable-programs.inc |
| 19 | +include disable-shell.inc |
| 20 | +#include disable-xdg.inc |
| 21 | + |
| 22 | +#mkdir ${HOME}/.local/share/localsend_app |
| 23 | +#whitelist ${HOME}/.local/share/localsend_app |
| 24 | +#whitelist ${DOWNLOADS} |
| 25 | +#whitelist /usr/share/localsend_app |
| 26 | +#include whitelist-common.inc |
| 27 | +include whitelist-run-common.inc |
| 28 | +include whitelist-runuser-common.inc |
| 29 | +include whitelist-usr-share-common.inc |
| 30 | +include whitelist-var-common.inc |
| 31 | + |
| 32 | +apparmor |
| 33 | +caps.drop all |
| 34 | +ipc-namespace |
| 35 | +machine-id |
| 36 | +netfilter |
| 37 | +#no3d |
| 38 | +nodvd |
| 39 | +nogroups |
| 40 | +noinput |
| 41 | +nonewprivs |
| 42 | +noprinters |
| 43 | +noroot |
| 44 | +nosound |
| 45 | +notv |
| 46 | +nou2f |
| 47 | +novideo |
| 48 | +protocol unix,inet,inet6 |
| 49 | +seccomp |
| 50 | +seccomp.block-secondary |
| 51 | +tracelog |
| 52 | + |
| 53 | +private-bin localsend_app |
| 54 | +private-cache |
| 55 | +private-dev |
| 56 | +private-etc @network,@tls-ca |
| 57 | +private-tmp |
| 58 | + |
| 59 | +dbus-user none |
| 60 | +dbus-system none |
| 61 | + |
| 62 | +read-only ${HOME} |
| 63 | +read-write ${HOME}/.local/share/localsend_app |
| 64 | +read-write ${DOWNLOADS} |
| 65 | +restrict-namespaces |
0 commit comments