diff options
author | 2021-02-18 18:45:39 +0100 | |
---|---|---|
committer | 2021-02-18 18:45:39 +0100 | |
commit | bd516d80020cde4814d4b643a249395994507276 (patch) | |
tree | 90526d37c6c0fe6473e6f3bb9717afe17faeb7f5 /etc/profile-m-z | |
parent | Add machine-id (diff) | |
download | firejail-bd516d80020cde4814d4b643a249395994507276.tar.gz firejail-bd516d80020cde4814d4b643a249395994507276.tar.zst firejail-bd516d80020cde4814d4b643a249395994507276.zip |
Add more parameters and optional ${DOCUMENTS}
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/nextcloud-desktop.profile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/etc/profile-m-z/nextcloud-desktop.profile b/etc/profile-m-z/nextcloud-desktop.profile index 136cf240b..098e62b52 100644 --- a/etc/profile-m-z/nextcloud-desktop.profile +++ b/etc/profile-m-z/nextcloud-desktop.profile | |||
@@ -6,7 +6,8 @@ include nextcloud-desktop.local | |||
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${DOCUMENTS} | 9 | # Uncomment or put in your nextcloud-desktop.local to allow sync with Document directory. |
10 | #noblacklist ${DOCUMENTS} | ||
10 | noblacklist ${HOME}/Nextcloud | 11 | noblacklist ${HOME}/Nextcloud |
11 | noblacklist ${HOME}/.config/Nextcloud | 12 | noblacklist ${HOME}/.config/Nextcloud |
12 | noblacklist ${HOME}/.local/share/Nextcloud | 13 | noblacklist ${HOME}/.local/share/Nextcloud |
@@ -18,15 +19,19 @@ include disable-interpreters.inc | |||
18 | include disable-passwdmgr.inc | 19 | include disable-passwdmgr.inc |
19 | include disable-programs.inc | 20 | include disable-programs.inc |
20 | include disable-shell.inc | 21 | include disable-shell.inc |
22 | include disable-xdg.inc | ||
21 | 23 | ||
22 | mkdir ${HOME}/Nextcloud | 24 | mkdir ${HOME}/Nextcloud |
23 | mkdir ${HOME}/.config/Nextcloud | 25 | mkdir ${HOME}/.config/Nextcloud |
24 | mkdir ${HOME}/.local/share/Nextcloud | 26 | mkdir ${HOME}/.local/share/Nextcloud |
25 | whitelist ${DOCUMENTS} | 27 | # Uncomment or put in your nextcloud-desktop.local to allow sync with Document directory. |
28 | #whitelist ${DOCUMENTS} | ||
26 | whitelist ${HOME}/Nextcloud | 29 | whitelist ${HOME}/Nextcloud |
27 | whitelist ${HOME}/.config/Nextcloud | 30 | whitelist ${HOME}/.config/Nextcloud |
28 | whitelist ${HOME}/.local/share/Nextcloud | 31 | whitelist ${HOME}/.local/share/Nextcloud |
29 | include whitelist-common.inc | 32 | include whitelist-common.inc |
33 | include whitelist-runuser-common.inc | ||
34 | include whitelist-usr-share-common.inc | ||
30 | include whitelist-var-common.inc | 35 | include whitelist-var-common.inc |
31 | 36 | ||
32 | caps.drop all | 37 | caps.drop all |
@@ -43,9 +48,12 @@ nou2f | |||
43 | novideo | 48 | novideo |
44 | protocol unix,inet,inet6 | 49 | protocol unix,inet,inet6 |
45 | seccomp | 50 | seccomp |
51 | seccomp.block-secondary | ||
46 | shell none | 52 | shell none |
53 | tracelog | ||
47 | 54 | ||
55 | disable-mnt | ||
56 | private-bin nextcloud-desktop | ||
57 | private-cache | ||
48 | private-dev | 58 | private-dev |
49 | private-tmp | 59 | private-tmp |
50 | |||
51 | noexec /tmp | ||