You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: etc/profile-a-l/kube.profile
+12-7
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,10 @@ include kube.local
6
6
# Persistent global definitions
7
7
include globals.local
8
8
9
-
noblacklist ${HOME}/.gnupg
10
-
noblacklist ${HOME}/.mozilla
11
9
noblacklist ${HOME}/.cache/kube
12
10
noblacklist ${HOME}/.config/kube
13
11
noblacklist ${HOME}/.config/sink
12
+
noblacklist ${HOME}/.gnupg
14
13
noblacklist ${HOME}/.local/share/kube
15
14
noblacklist ${HOME}/.local/share/sink
16
15
@@ -22,23 +21,28 @@ include disable-programs.inc
22
21
include disable-shell.inc
23
22
include disable-xdg.inc
24
23
25
-
mkdir ${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)
27
+
noblacklist ${HOME}/.mozilla
28
+
whitelist ${HOME}/.mozilla/firefox/profiles.ini
29
+
26
30
mkdir ${HOME}/.cache/kube
27
31
mkdir ${HOME}/.config/kube
28
32
mkdir ${HOME}/.config/sink
33
+
mkdir ${HOME}/.gnupg
29
34
mkdir ${HOME}/.local/share/kube
30
35
mkdir ${HOME}/.local/share/sink
31
-
whitelist ${HOME}/.gnupg
32
-
whitelist ${HOME}/.mozilla/firefox/profiles.ini
33
36
whitelist ${HOME}/.cache/kube
34
37
whitelist ${HOME}/.config/kube
35
38
whitelist ${HOME}/.config/sink
39
+
whitelist ${HOME}/.gnupg
36
40
whitelist ${HOME}/.local/share/kube
37
41
whitelist ${HOME}/.local/share/sink
38
42
whitelist ${RUNUSER}/gnupg
39
-
whitelist /usr/share/kube
40
43
whitelist /usr/share/gnupg
41
44
whitelist /usr/share/gnupg2
45
+
whitelist /usr/share/kube
42
46
include whitelist-common.inc
43
47
include whitelist-runuser-common.inc
44
48
include whitelist-usr-share-common.inc
@@ -63,7 +67,6 @@ tracelog
63
67
64
68
# disable-mnt
65
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.
67
70
private-bin kube,sink_synchronizer
68
71
private-cache
69
72
private-dev
@@ -75,6 +78,8 @@ dbus-user filter
75
78
dbus-user.talk ca.desrt.dconf
76
79
dbus-user.talk org.freedesktop.secrets
77
80
dbus-user.talk org.freedesktop.Notifications
81
+
# allow D-Bus communication with firefox for opening links
0 commit comments