From 06dc66c8e3b1aced25d861a8b98ca2582db7f7c9 Mon Sep 17 00:00:00 2001 From: smitsohu Date: Wed, 9 Mar 2022 14:50:24 +0100 Subject: fix Electron app profiles (#5012) --- etc/profile-a-l/atom.profile | 2 ++ etc/profile-a-l/code.profile | 2 ++ etc/profile-a-l/github-desktop.profile | 2 ++ 3 files changed, 6 insertions(+) diff --git a/etc/profile-a-l/atom.profile b/etc/profile-a-l/atom.profile index 5f237ac59..c1ca20ec9 100644 --- a/etc/profile-a-l/atom.profile +++ b/etc/profile-a-l/atom.profile @@ -11,6 +11,8 @@ ignore include disable-devel.inc ignore include disable-interpreters.inc ignore include disable-xdg.inc ignore whitelist ${DOWNLOADS} +ignore whitelist ${HOME}/.config/Electron +ignore whitelist ${HOME}/.config/electron-flag*.conf ignore include whitelist-common.inc ignore include whitelist-runuser-common.inc ignore include whitelist-usr-share-common.inc diff --git a/etc/profile-a-l/code.profile b/etc/profile-a-l/code.profile index fdf94ec41..4cade5749 100644 --- a/etc/profile-a-l/code.profile +++ b/etc/profile-a-l/code.profile @@ -11,6 +11,8 @@ ignore include disable-exec.inc ignore include disable-interpreters.inc ignore include disable-xdg.inc ignore whitelist ${DOWNLOADS} +ignore whitelist ${HOME}/.config/Electron +ignore whitelist ${HOME}/.config/electron-flag*.conf ignore include whitelist-common.inc ignore include whitelist-runuser-common.inc ignore include whitelist-usr-share-common.inc diff --git a/etc/profile-a-l/github-desktop.profile b/etc/profile-a-l/github-desktop.profile index 325c54ced..943a3c8c3 100644 --- a/etc/profile-a-l/github-desktop.profile +++ b/etc/profile-a-l/github-desktop.profile @@ -14,6 +14,8 @@ include globals.local # Disabled until someone reported positive feedback ignore include disable-xdg.inc ignore whitelist ${DOWNLOADS} +ignore whitelist ${HOME}/.config/Electron +ignore whitelist ${HOME}/.config/electron-flag*.conf ignore include whitelist-common.inc ignore include whitelist-runuser-common.inc ignore include whitelist-usr-share-common.inc -- cgit v1.2.3-70-g09d2 From 93e0c25887539004aa12e58b8655b1683c159184 Mon Sep 17 00:00:00 2001 From: smitsohu Date: Wed, 9 Mar 2022 14:52:02 +0100 Subject: skypeforlinux cleanup --- etc/profile-m-z/skypeforlinux.profile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/etc/profile-m-z/skypeforlinux.profile b/etc/profile-m-z/skypeforlinux.profile index 339f3ef8f..3734f8f4a 100644 --- a/etc/profile-m-z/skypeforlinux.profile +++ b/etc/profile-m-z/skypeforlinux.profile @@ -6,27 +6,23 @@ include skypeforlinux.local include globals.local # Disabled until someone reported positive feedback -ignore include whitelist-common.inc ignore include whitelist-runuser-common.inc ignore include whitelist-usr-share-common.inc ignore include whitelist-var-common.inc ignore nou2f -ignore novideo -ignore private-dev - -ignore dbus-user none # breaks Skype ignore apparmor +ignore dbus-user none ignore noexec /tmp +ignore novideo +ignore private-dev # needs /dev/disk noblacklist ${HOME}/.config/skypeforlinux mkdir ${HOME}/.config/skypeforlinux whitelist ${HOME}/.config/skypeforlinux -# private-dev - needs /dev/disk - dbus-user filter dbus-user.talk org.freedesktop.Notifications dbus-user.talk org.freedesktop.secrets -- cgit v1.2.3-70-g09d2