Skip to content

Commit 8b153a1

Browse files
glitsj16kmk3
authored andcommitted
New profile: localsend_app.profile
Description: An open source cross-platform alternative to AirDrop. https://github.com/localsend/localsend
1 parent df257a8 commit 8b153a1

File tree

3 files changed

+67
-0
lines changed

3 files changed

+67
-0
lines changed

etc/inc/disable-programs.inc

+1
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@ blacklist ${HOME}/.local/share/liferea
985985
blacklist ${HOME}/.local/share/linphone
986986
blacklist ${HOME}/.local/share/lobster
987987
blacklist ${HOME}/.local/share/local-mail
988+
blacklist ${HOME}/.local/share/localsend_app
988989
blacklist ${HOME}/.local/share/lollypop
989990
blacklist ${HOME}/.local/share/love
990991
blacklist ${HOME}/.local/share/lugaru

etc/profile-a-l/localsend_app.profile

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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

src/firecfg/firecfg.config

+1
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ lmms
503503
lobase
504504
lobster
505505
localc
506+
localsend_app
506507
lodraw
507508
loffice
508509
lofromtemplate

0 commit comments

Comments
 (0)