aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/nextcloud.profile
diff options
context:
space:
mode:
authorLibravatar Nicola Davide Mannarelli <1094368+nidamanx@users.noreply.github.com>2021-02-22 11:29:02 +0100
committerLibravatar GitHub <noreply@github.com>2021-02-22 11:29:02 +0100
commit93bf422bd8143e4f0c0ac1e6cc0d5fd531e2dd1c (patch)
tree023434b0e1235a3feea62ea39794ab4d58ef33ae /etc/profile-m-z/nextcloud.profile
parentAdd nextcloud (diff)
downloadfirejail-93bf422bd8143e4f0c0ac1e6cc0d5fd531e2dd1c.tar.gz
firejail-93bf422bd8143e4f0c0ac1e6cc0d5fd531e2dd1c.tar.zst
firejail-93bf422bd8143e4f0c0ac1e6cc0d5fd531e2dd1c.zip
Add nextcloud
Diffstat (limited to 'etc/profile-m-z/nextcloud.profile')
-rw-r--r--etc/profile-m-z/nextcloud.profile71
1 files changed, 71 insertions, 0 deletions
diff --git a/etc/profile-m-z/nextcloud.profile b/etc/profile-m-z/nextcloud.profile
new file mode 100644
index 000000000..bc1f214eb
--- /dev/null
+++ b/etc/profile-m-z/nextcloud.profile
@@ -0,0 +1,71 @@
1# Firejail profile for nextcloud
2# Description: Nextcloud desktop synchronization client
3# This file is overwritten after every install/update
4# Persistent local customizations
5include nextcloud.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/Nextcloud
10noblacklist ${HOME}/.config/Nextcloud
11noblacklist ${HOME}/.local/share/Nextcloud
12# Uncomment or put in your nextcloud.local to allow sync with more directories.
13#noblacklist ${DOCUMENTS}
14#noblacklist ${MUSIC}
15#noblacklist ${PICTURES}
16#noblacklist ${VIDEOS}
17
18include disable-common.inc
19include disable-devel.inc
20include disable-exec.inc
21include disable-interpreters.inc
22include disable-passwdmgr.inc
23include disable-programs.inc
24include disable-shell.inc
25include disable-xdg.inc
26
27mkdir ${HOME}/Nextcloud
28mkdir ${HOME}/.config/Nextcloud
29mkdir ${HOME}/.local/share/Nextcloud
30whitelist ${HOME}/Nextcloud
31whitelist ${HOME}/.config/Nextcloud
32whitelist ${HOME}/.local/share/Nextcloud
33# Uncomment or put in your nextcloud.local to allow sync with more directories.
34#whitelist ${DOCUMENTS}
35#whitelist ${MUSIC}
36#whitelist ${PICTURES}
37#whitelist ${VIDEOS}
38include whitelist-common.inc
39include whitelist-runuser-common.inc
40include whitelist-usr-share-common.inc
41include whitelist-var-common.inc
42
43apparmor
44caps.drop all
45machine-id
46netfilter
47no3d
48nodvd
49nogroups
50nonewprivs
51noroot
52nosound
53notv
54nou2f
55novideo
56protocol unix,inet,inet6
57seccomp
58seccomp.block-secondary
59shell none
60tracelog
61
62disable-mnt
63private-bin nextcloud
64private-cache
65private-etc alternatives,ca-certificates,crypto-policies,drirc,fonts,gcrypt,host.conf,hosts,ld.so.cache,machine-id,Nextcloud,nsswitch.conf,os-release,passwd,pki,pulse,resolv.conf,selinux,ssl,xdg
66private-dev
67private-tmp
68
69dbus-user filter
70dbus-user.talk org.freedesktop.secrets
71dbus-system none