Skip to content

Commit

Permalink
profiles: nextcloud: sort entries
Browse files Browse the repository at this point in the history
Relates to #3997.
  • Loading branch information
kmk3 committed Sep 14, 2024
1 parent eba4a1c commit f9ddf2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions etc/profile-m-z/QOwnNotes.profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ include QOwnNotes.local
include globals.local

noblacklist ${DOCUMENTS}
noblacklist ${HOME}/Nextcloud/Notes
noblacklist ${HOME}/.config/PBE
noblacklist ${HOME}/.local/share/PBE
noblacklist ${HOME}/Nextcloud/Notes

include disable-common.inc
include disable-devel.inc
Expand All @@ -19,13 +19,13 @@ include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/Nextcloud/Notes
mkdir ${HOME}/.config/PBE
mkdir ${HOME}/.local/share/PBE
mkdir ${HOME}/Nextcloud/Notes
whitelist ${DOCUMENTS}
whitelist ${HOME}/Nextcloud/Notes
whitelist ${HOME}/.config/PBE
whitelist ${HOME}/.local/share/PBE
whitelist ${HOME}/Nextcloud/Notes
include whitelist-common.inc
include whitelist-var-common.inc

Expand Down
10 changes: 5 additions & 5 deletions etc/profile-m-z/nextcloud.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ include nextcloud.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/Nextcloud
noblacklist ${HOME}/.config/Nextcloud
noblacklist ${HOME}/.local/share/Nextcloud
noblacklist ${HOME}/Nextcloud
# Add the next lines to your nextcloud.local to allow sync in more directories.
#noblacklist ${DOCUMENTS}
#noblacklist ${MUSIC}
Expand All @@ -23,12 +23,12 @@ include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/Nextcloud
mkdir ${HOME}/.config/Nextcloud
mkdir ${HOME}/.local/share/Nextcloud
whitelist ${HOME}/Nextcloud
mkdir ${HOME}/Nextcloud
whitelist ${HOME}/.config/Nextcloud
whitelist ${HOME}/.local/share/Nextcloud
whitelist ${HOME}/Nextcloud
whitelist /usr/share/nextcloud
# Add the next lines to your nextcloud.local to allow sync in more directories.
#whitelist ${DOCUMENTS}
Expand Down Expand Up @@ -61,15 +61,15 @@ tracelog
disable-mnt
private-bin nextcloud,nextcloud-desktop
private-cache
private-etc @tls-ca,@x11,Nextcloud,host.conf,os-release
private-dev
private-etc @tls-ca,@x11,Nextcloud,host.conf,os-release
private-tmp

# IMPORTANT: create ~/.local/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
# referencing the firejailed /usr/local/bin/nextcloud to keep nextcloud running sandboxed
# even when its dbus name gets activated
# see https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#how-do-i-sandbox-applications-started-via-systemd-or-d-bus-services
dbus-user filter
dbus-user filter
dbus-user.own com.nextcloudgmbh.Nextcloud
dbus-user.talk org.freedesktop.secrets
?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
Expand Down

0 comments on commit f9ddf2f

Please sign in to comment.