aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/nextcloud-desktop.profile
diff options
context:
space:
mode:
authorLibravatar Nicola Davide Mannarelli <1094368+nidamanx@users.noreply.github.com>2021-02-18 14:06:32 +0100
committerLibravatar GitHub <noreply@github.com>2021-02-18 14:06:32 +0100
commit0de709b8645fdb5745f4cf1d3aea10b9cb8f5d23 (patch)
tree35b3352f91c5a69d70b37b66853d06da800dd110 /etc/profile-m-z/nextcloud-desktop.profile
parentMerge pull request #3994 from kmk3/fix-copyright-bump (diff)
downloadfirejail-0de709b8645fdb5745f4cf1d3aea10b9cb8f5d23.tar.gz
firejail-0de709b8645fdb5745f4cf1d3aea10b9cb8f5d23.tar.zst
firejail-0de709b8645fdb5745f4cf1d3aea10b9cb8f5d23.zip
Create nextcloud-desktop.profile
Diffstat (limited to 'etc/profile-m-z/nextcloud-desktop.profile')
-rw-r--r--etc/profile-m-z/nextcloud-desktop.profile48
1 files changed, 48 insertions, 0 deletions
diff --git a/etc/profile-m-z/nextcloud-desktop.profile b/etc/profile-m-z/nextcloud-desktop.profile
new file mode 100644
index 000000000..42cb3b2af
--- /dev/null
+++ b/etc/profile-m-z/nextcloud-desktop.profile
@@ -0,0 +1,48 @@
1# Firejail profile for nextcloud-desktop
2# Description: Nextcloud desktop client
3# This file is overwritten after every install/update
4# Persistent local customizations
5include nextcloud-desktop.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${DOCUMENTS}
10noblacklist ${HOME}/Nextcloud
11noblacklist ${HOME}/.config/Nextcloud
12noblacklist ${HOME}/.local/share/Nextcloud
13
14include disable-common.inc
15include disable-devel.inc
16include disable-interpreters.inc
17include disable-passwdmgr.inc
18include disable-programs.inc
19
20mkdir ${HOME}/Nextcloud
21mkdir ${HOME}/.config/Nextcloud
22mkdir ${HOME}/.local/share/Nextcloud
23whitelist ${DOCUMENTS}
24whitelist ${HOME}/Nextcloud
25whitelist ${HOME}/.config/Nextcloud
26whitelist ${HOME}/.local/share/Nextcloud
27include whitelist-common.inc
28include whitelist-var-common.inc
29
30caps.drop all
31netfilter
32no3d
33nodvd
34nogroups
35nonewprivs
36noroot
37nosound
38notv
39nou2f
40novideo
41protocol unix,inet,inet6
42seccomp
43shell none
44
45private-dev
46private-tmp
47
48noexec /tmp