Debian Codegraph @

etc/profile-a-l/dropbox.profile

raw
1 # Firejail profile for dropbox
2 # This file is overwritten after every install/update
3 # Persistent local customizations
4 include dropbox.local
5 # Persistent global definitions
6 include globals.local
7
8 # To allow the program to autostart, add the following to dropbox.local:
9 # Warning: This allows the program to easily escape the sandbox.
10 #noblacklist ${HOME}/.config/autostart
11 #mkfile ${HOME}/.config/autostart/dropbox.desktop
12 #whitelist ${HOME}/.config/autostart/dropbox.desktop
13
14 noblacklist ${HOME}/.dropbox
15 noblacklist ${HOME}/.dropbox-dist
16
17 # Allow python3 (blacklisted by disable-interpreters.inc)
18 include allow-python3.inc
19
20 include disable-common.inc
21 include disable-devel.inc
22 include disable-interpreters.inc
23 include disable-programs.inc
24
25 mkdir ${HOME}/.dropbox
26 mkdir ${HOME}/.dropbox-dist
27 mkdir ${HOME}/Dropbox
28 whitelist ${HOME}/.dropbox
29 whitelist ${HOME}/.dropbox-dist
30 whitelist ${HOME}/Dropbox
31 include whitelist-common.inc
32
33 caps.drop all
34 netfilter
35 no3d
36 nodvd
37 nogroups
38 noinput
39 nonewprivs
40 noroot
41 nosound
42 notv
43 nou2f
44 novideo
45 protocol unix,inet,inet6
46 seccomp
47
48 private-dev
49 private-tmp
50
51 noexec /tmp
52 restrict-namespaces