aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/nextcloud.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/nextcloud.profile')
-rw-r--r--etc/profile-m-z/nextcloud.profile11
1 files changed, 6 insertions, 5 deletions
diff --git a/etc/profile-m-z/nextcloud.profile b/etc/profile-m-z/nextcloud.profile
index 960c494db..b6453f6a9 100644
--- a/etc/profile-m-z/nextcloud.profile
+++ b/etc/profile-m-z/nextcloud.profile
@@ -6,9 +6,10 @@ include nextcloud.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/Nextcloud
10noblacklist ${HOME}/.config/Nextcloud 9noblacklist ${HOME}/.config/Nextcloud
11noblacklist ${HOME}/.local/share/Nextcloud 10noblacklist ${HOME}/.local/share/Nextcloud
11noblacklist ${HOME}/Nextcloud
12noblacklist ${HOME}/Nextcloud/Notes
12# Add the next lines to your nextcloud.local to allow sync in more directories. 13# Add the next lines to your nextcloud.local to allow sync in more directories.
13#noblacklist ${DOCUMENTS} 14#noblacklist ${DOCUMENTS}
14#noblacklist ${MUSIC} 15#noblacklist ${MUSIC}
@@ -23,12 +24,12 @@ include disable-programs.inc
23include disable-shell.inc 24include disable-shell.inc
24include disable-xdg.inc 25include disable-xdg.inc
25 26
26mkdir ${HOME}/Nextcloud
27mkdir ${HOME}/.config/Nextcloud 27mkdir ${HOME}/.config/Nextcloud
28mkdir ${HOME}/.local/share/Nextcloud 28mkdir ${HOME}/.local/share/Nextcloud
29whitelist ${HOME}/Nextcloud 29mkdir ${HOME}/Nextcloud
30whitelist ${HOME}/.config/Nextcloud 30whitelist ${HOME}/.config/Nextcloud
31whitelist ${HOME}/.local/share/Nextcloud 31whitelist ${HOME}/.local/share/Nextcloud
32whitelist ${HOME}/Nextcloud
32whitelist /usr/share/nextcloud 33whitelist /usr/share/nextcloud
33# Add the next lines to your nextcloud.local to allow sync in more directories. 34# Add the next lines to your nextcloud.local to allow sync in more directories.
34#whitelist ${DOCUMENTS} 35#whitelist ${DOCUMENTS}
@@ -61,15 +62,15 @@ tracelog
61disable-mnt 62disable-mnt
62private-bin nextcloud,nextcloud-desktop 63private-bin nextcloud,nextcloud-desktop
63private-cache 64private-cache
64private-etc @tls-ca,@x11,Nextcloud,host.conf,os-release
65private-dev 65private-dev
66private-etc @tls-ca,@x11,Nextcloud,host.conf,os-release
66private-tmp 67private-tmp
67 68
68# IMPORTANT: create ~/.local/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service 69# IMPORTANT: create ~/.local/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
69# referencing the firejailed /usr/local/bin/nextcloud to keep nextcloud running sandboxed 70# referencing the firejailed /usr/local/bin/nextcloud to keep nextcloud running sandboxed
70# even when its dbus name gets activated 71# even when its dbus name gets activated
71# see https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#how-do-i-sandbox-applications-started-via-systemd-or-d-bus-services 72# see https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#how-do-i-sandbox-applications-started-via-systemd-or-d-bus-services
72dbus-user filter 73dbus-user filter
73dbus-user.own com.nextcloudgmbh.Nextcloud 74dbus-user.own com.nextcloudgmbh.Nextcloud
74dbus-user.talk org.freedesktop.secrets 75dbus-user.talk org.freedesktop.secrets
75?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher 76?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher