aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/kube.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/kube.profile')
-rw-r--r--etc/profile-a-l/kube.profile19
1 files changed, 12 insertions, 7 deletions
diff --git a/etc/profile-a-l/kube.profile b/etc/profile-a-l/kube.profile
index 5cf30ed40..82336969d 100644
--- a/etc/profile-a-l/kube.profile
+++ b/etc/profile-a-l/kube.profile
@@ -6,11 +6,10 @@ include kube.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.gnupg
10noblacklist ${HOME}/.mozilla
11noblacklist ${HOME}/.cache/kube 9noblacklist ${HOME}/.cache/kube
12noblacklist ${HOME}/.config/kube 10noblacklist ${HOME}/.config/kube
13noblacklist ${HOME}/.config/sink 11noblacklist ${HOME}/.config/sink
12noblacklist ${HOME}/.gnupg
14noblacklist ${HOME}/.local/share/kube 13noblacklist ${HOME}/.local/share/kube
15noblacklist ${HOME}/.local/share/sink 14noblacklist ${HOME}/.local/share/sink
16 15
@@ -22,23 +21,28 @@ include disable-programs.inc
22include disable-shell.inc 21include disable-shell.inc
23include disable-xdg.inc 22include disable-xdg.inc
24 23
25mkdir ${HOME}/.gnupg 24# The lines below are needed to find the default Firefox profile name, to allow
25# opening links in an existing instance of Firefox (note that it still fails if
26# there isn't a Firefox instance running with the default profile; see #5352)
27noblacklist ${HOME}/.mozilla
28whitelist ${HOME}/.mozilla/firefox/profiles.ini
29
26mkdir ${HOME}/.cache/kube 30mkdir ${HOME}/.cache/kube
27mkdir ${HOME}/.config/kube 31mkdir ${HOME}/.config/kube
28mkdir ${HOME}/.config/sink 32mkdir ${HOME}/.config/sink
33mkdir ${HOME}/.gnupg
29mkdir ${HOME}/.local/share/kube 34mkdir ${HOME}/.local/share/kube
30mkdir ${HOME}/.local/share/sink 35mkdir ${HOME}/.local/share/sink
31whitelist ${HOME}/.gnupg
32whitelist ${HOME}/.mozilla/firefox/profiles.ini
33whitelist ${HOME}/.cache/kube 36whitelist ${HOME}/.cache/kube
34whitelist ${HOME}/.config/kube 37whitelist ${HOME}/.config/kube
35whitelist ${HOME}/.config/sink 38whitelist ${HOME}/.config/sink
39whitelist ${HOME}/.gnupg
36whitelist ${HOME}/.local/share/kube 40whitelist ${HOME}/.local/share/kube
37whitelist ${HOME}/.local/share/sink 41whitelist ${HOME}/.local/share/sink
38whitelist ${RUNUSER}/gnupg 42whitelist ${RUNUSER}/gnupg
39whitelist /usr/share/kube
40whitelist /usr/share/gnupg 43whitelist /usr/share/gnupg
41whitelist /usr/share/gnupg2 44whitelist /usr/share/gnupg2
45whitelist /usr/share/kube
42include whitelist-common.inc 46include whitelist-common.inc
43include whitelist-runuser-common.inc 47include whitelist-runuser-common.inc
44include whitelist-usr-share-common.inc 48include whitelist-usr-share-common.inc
@@ -63,7 +67,6 @@ tracelog
63 67
64# disable-mnt 68# disable-mnt
65# Add "gpg,gpg2,gpg-agent,pinentry-curses,pinentry-emacs,pinentry-fltk,pinentry-gnome3,pinentry-gtk,pinentry-gtk2,pinentry-gtk-2,pinentry-qt,pinentry-qt4,pinentry-tty,pinentry-x2go,pinentry-kwallet" for gpg 69# Add "gpg,gpg2,gpg-agent,pinentry-curses,pinentry-emacs,pinentry-fltk,pinentry-gnome3,pinentry-gtk,pinentry-gtk2,pinentry-gtk-2,pinentry-qt,pinentry-qt4,pinentry-tty,pinentry-x2go,pinentry-kwallet" for gpg
66# Add "ignore private-bin" for hyperlinks or have a look at the private-bins in firefox.profile and firefox-common.profile.
67private-bin kube,sink_synchronizer 70private-bin kube,sink_synchronizer
68private-cache 71private-cache
69private-dev 72private-dev
@@ -75,6 +78,8 @@ dbus-user filter
75dbus-user.talk ca.desrt.dconf 78dbus-user.talk ca.desrt.dconf
76dbus-user.talk org.freedesktop.secrets 79dbus-user.talk org.freedesktop.secrets
77dbus-user.talk org.freedesktop.Notifications 80dbus-user.talk org.freedesktop.Notifications
81# allow D-Bus communication with firefox for opening links
82dbus-user.talk org.mozilla.*
78dbus-system none 83dbus-system none
79 84
80restrict-namespaces 85restrict-namespaces