diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc index 1b55a5dff..baa68c0c2 100644 --- a/etc/inc/disable-common.inc +++ b/etc/inc/disable-common.inc @@ -346,6 +346,7 @@ read-only ${HOME}/.local/share/cool-retro-term read-only ${HOME}/.local/share/nvim read-only ${HOME}/.local/state/nvim read-only ${HOME}/.mailcap +read-only ${HOME}/.mozilla/firefox/profiles.ini read-only ${HOME}/.msmtprc read-only ${HOME}/.mutt/muttrc read-only ${HOME}/.muttrc diff --git a/etc/profile-a-l/electron-mail.profile b/etc/profile-a-l/electron-mail.profile index 9f4fabd68..766fe523b 100644 --- a/etc/profile-a-l/electron-mail.profile +++ b/etc/profile-a-l/electron-mail.profile @@ -24,7 +24,6 @@ whitelist ${HOME}/.config/electron-mail # there isn't a Firefox instance running with the default profile; see #5352) noblacklist ${HOME}/.mozilla whitelist ${HOME}/.mozilla/firefox/profiles.ini -read-only ${HOME}/.mozilla/firefox/profiles.ini machine-id nosound diff --git a/etc/profile-a-l/email-common.profile b/etc/profile-a-l/email-common.profile index 0a44a62a3..7d5c859e9 100644 --- a/etc/profile-a-l/email-common.profile +++ b/etc/profile-a-l/email-common.profile @@ -85,6 +85,5 @@ dbus-user.talk org.gnome.seahorse.* dbus-user.talk org.mozilla.* dbus-system none -read-only ${HOME}/.mozilla/firefox/profiles.ini read-only ${HOME}/.signature restrict-namespaces diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile index 0e1d30958..42d59157c 100644 --- a/etc/profile-a-l/firefox.profile +++ b/etc/profile-a-l/firefox.profile @@ -14,6 +14,9 @@ include globals.local # https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#how-do-i-run-two-instances-of-firefox # https://github.com/netblue30/firejail/issues/4206#issuecomment-824806968 +# (Ignore entry from disable-common.inc) +ignore read-only ${HOME}/.mozilla/firefox/profiles.ini + noblacklist ${HOME}/.cache/mozilla noblacklist ${HOME}/.mozilla noblacklist ${RUNUSER}/*firefox* diff --git a/etc/profile-a-l/geary.profile b/etc/profile-a-l/geary.profile index a19a20ba7..ba0837780 100644 --- a/etc/profile-a-l/geary.profile +++ b/etc/profile-a-l/geary.profile @@ -91,5 +91,4 @@ dbus-user.talk org.gnome.evolution.dataserver.Sources5 dbus-user.talk org.mozilla.* dbus-system none -read-only ${HOME}/.mozilla/firefox/profiles.ini restrict-namespaces diff --git a/etc/profile-a-l/kube.profile b/etc/profile-a-l/kube.profile index 5183a9327..5cf30ed40 100644 --- a/etc/profile-a-l/kube.profile +++ b/etc/profile-a-l/kube.profile @@ -77,5 +77,4 @@ dbus-user.talk org.freedesktop.secrets dbus-user.talk org.freedesktop.Notifications dbus-system none -read-only ${HOME}/.mozilla/firefox/profiles.ini restrict-namespaces diff --git a/etc/profile-a-l/linuxqq.profile b/etc/profile-a-l/linuxqq.profile index 9157d910b..6ca8b8103 100644 --- a/etc/profile-a-l/linuxqq.profile +++ b/etc/profile-a-l/linuxqq.profile @@ -37,7 +37,5 @@ dbus-user.talk org.gnome.Mutter.IdleMonitor dbus-user.talk org.mozilla.* ignore dbus-user none -read-only ${HOME}/.mozilla/firefox/profiles.ini - # Redirect include electron-common.profile diff --git a/etc/profile-m-z/signal-desktop.profile b/etc/profile-m-z/signal-desktop.profile index a26b41524..3e1899ef3 100644 --- a/etc/profile-m-z/signal-desktop.profile +++ b/etc/profile-m-z/signal-desktop.profile @@ -14,7 +14,6 @@ noblacklist ${HOME}/.config/Signal # These lines are needed to allow Firefox to open links noblacklist ${HOME}/.mozilla whitelist ${HOME}/.mozilla/firefox/profiles.ini -read-only ${HOME}/.mozilla/firefox/profiles.ini mkdir ${HOME}/.config/Signal whitelist ${HOME}/.config/Signal diff --git a/etc/profile-m-z/thunderbird.profile b/etc/profile-m-z/thunderbird.profile index 1ac80bc9a..5df207e25 100644 --- a/etc/profile-m-z/thunderbird.profile +++ b/etc/profile-m-z/thunderbird.profile @@ -24,7 +24,6 @@ writable-run-user # These lines are needed to allow Firefox to load your profile when clicking a link in an email noblacklist ${HOME}/.mozilla whitelist ${HOME}/.mozilla/firefox/profiles.ini -read-only ${HOME}/.mozilla/firefox/profiles.ini noblacklist ${HOME}/.cache/thunderbird noblacklist ${HOME}/.gnupg diff --git a/etc/profile-m-z/trojita.profile b/etc/profile-m-z/trojita.profile index 378c8a1b7..ba68ccb53 100644 --- a/etc/profile-m-z/trojita.profile +++ b/etc/profile-m-z/trojita.profile @@ -60,5 +60,4 @@ dbus-user filter dbus-user.talk org.freedesktop.secrets dbus-system none -read-only ${HOME}/.mozilla/firefox/profiles.ini restrict-namespaces diff --git a/etc/profile-m-z/tutanota-desktop.profile b/etc/profile-m-z/tutanota-desktop.profile index 4793e9dbb..55e4a4392 100644 --- a/etc/profile-m-z/tutanota-desktop.profile +++ b/etc/profile-m-z/tutanota-desktop.profile @@ -28,7 +28,6 @@ whitelist ${HOME}/.config/tutanota-desktop # there isn't a Firefox instance running with the default profile; see #5352) noblacklist ${HOME}/.mozilla whitelist ${HOME}/.mozilla/firefox/profiles.ini -read-only ${HOME}/.mozilla/firefox/profiles.ini machine-id nosound diff --git a/etc/profile-m-z/youtube-viewers-common.profile b/etc/profile-m-z/youtube-viewers-common.profile index 9ef90eb92..d2b73ec4c 100644 --- a/etc/profile-m-z/youtube-viewers-common.profile +++ b/etc/profile-m-z/youtube-viewers-common.profile @@ -24,7 +24,6 @@ include allow-python3.inc # there isn't a Firefox instance running with the default profile; see #5352) noblacklist ${HOME}/.mozilla whitelist ${HOME}/.mozilla/firefox/profiles.ini -read-only ${HOME}/.mozilla/firefox/profiles.ini include disable-common.inc include disable-devel.inc diff --git a/etc/profile-m-z/zeal.profile b/etc/profile-m-z/zeal.profile index caf9eab63..09a1d37a3 100644 --- a/etc/profile-m-z/zeal.profile +++ b/etc/profile-m-z/zeal.profile @@ -23,7 +23,6 @@ include disable-xdg.inc # This also requires dbus-user filtering (see below). noblacklist ${HOME}/.mozilla whitelist ${HOME}/.mozilla/firefox/profiles.ini -read-only ${HOME}/.mozilla/firefox/profiles.ini mkdir ${HOME}/.cache/Zeal mkdir ${HOME}/.config/Zeal