diff options
author | 2021-02-22 11:30:35 +0100 | |
---|---|---|
committer | 2021-02-22 11:30:35 +0100 | |
commit | 18cdf920623a0cc3d0cd2617f328d2f4cd1e20d2 (patch) | |
tree | f71194a07ed2d80282f7c6dc91270446d2d07459 /etc/profile-m-z | |
parent | Add nextcloud (diff) | |
download | firejail-18cdf920623a0cc3d0cd2617f328d2f4cd1e20d2.tar.gz firejail-18cdf920623a0cc3d0cd2617f328d2f4cd1e20d2.tar.zst firejail-18cdf920623a0cc3d0cd2617f328d2f4cd1e20d2.zip |
Change as nexcloud.profile alias
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/nextcloud-desktop.profile | 70 |
1 files changed, 5 insertions, 65 deletions
diff --git a/etc/profile-m-z/nextcloud-desktop.profile b/etc/profile-m-z/nextcloud-desktop.profile index 7aadb799e..e74f9c03f 100644 --- a/etc/profile-m-z/nextcloud-desktop.profile +++ b/etc/profile-m-z/nextcloud-desktop.profile | |||
@@ -1,70 +1,10 @@ | |||
1 | # Firejail profile for nextcloud-desktop | 1 | # Firejail profile alias for nextcloud |
2 | # Description: Nextcloud desktop client | ||
3 | # This file is overwritten after every install/update | 2 | # This file is overwritten after every install/update |
4 | # Persistent local customizations | 3 | # Persistent local customizations |
5 | include nextcloud-desktop.local | 4 | include nextcloud-desktop.local |
6 | # Persistent global definitions | 5 | # Persistent global definitions |
7 | include globals.local | 6 | # added by included profile |
7 | #include globals.local | ||
8 | 8 | ||
9 | noblacklist ${HOME}/Nextcloud | 9 | # Redirect |
10 | noblacklist ${HOME}/.config/Nextcloud | 10 | include nextcloud.profile |
11 | noblacklist ${HOME}/.local/share/Nextcloud | ||
12 | # Uncomment or put in your nextcloud-desktop.local to allow sync with more directories. | ||
13 | #noblacklist ${DOCUMENTS} | ||
14 | #noblacklist ${MUSIC} | ||
15 | #noblacklist ${PICTURES} | ||
16 | #noblacklist ${VIDEOS} | ||
17 | |||
18 | include disable-common.inc | ||
19 | include disable-devel.inc | ||
20 | include disable-exec.inc | ||
21 | include disable-interpreters.inc | ||
22 | include disable-passwdmgr.inc | ||
23 | include disable-programs.inc | ||
24 | include disable-shell.inc | ||
25 | include disable-xdg.inc | ||
26 | |||
27 | mkdir ${HOME}/Nextcloud | ||
28 | mkdir ${HOME}/.config/Nextcloud | ||
29 | mkdir ${HOME}/.local/share/Nextcloud | ||
30 | whitelist ${HOME}/Nextcloud | ||
31 | whitelist ${HOME}/.config/Nextcloud | ||
32 | whitelist ${HOME}/.local/share/Nextcloud | ||
33 | # Uncomment or put in your nextcloud-desktop.local to allow sync with more directories. | ||
34 | #whitelist ${DOCUMENTS} | ||
35 | #whitelist ${MUSIC} | ||
36 | #whitelist ${PICTURES} | ||
37 | #whitelist ${VIDEOS} | ||
38 | include whitelist-common.inc | ||
39 | include whitelist-runuser-common.inc | ||
40 | include whitelist-usr-share-common.inc | ||
41 | include whitelist-var-common.inc | ||
42 | |||
43 | apparmor | ||
44 | caps.drop all | ||
45 | machine-id | ||
46 | netfilter | ||
47 | no3d | ||
48 | nodvd | ||
49 | nogroups | ||
50 | nonewprivs | ||
51 | noroot | ||
52 | nosound | ||
53 | notv | ||
54 | nou2f | ||
55 | novideo | ||
56 | protocol unix,inet,inet6 | ||
57 | seccomp | ||
58 | seccomp.block-secondary | ||
59 | shell none | ||
60 | tracelog | ||
61 | |||
62 | disable-mnt | ||
63 | private-bin nextcloud,nextcloud-desktop | ||
64 | private-cache | ||
65 | private-dev | ||
66 | private-tmp | ||
67 | |||
68 | dbus-user filter | ||
69 | dbus-user.talk org.freedesktop.secrets | ||
70 | dbus-system none | ||