From c6450e02a04a4e0101986bcad3b15571d84bb34a Mon Sep 17 00:00:00 2001 From: fira959 Date: Wed, 15 May 2024 19:11:54 +0200 Subject: [PATCH] Update discord --- apparmor.d/groups/apps/discord | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apparmor.d/groups/apps/discord b/apparmor.d/groups/apps/discord index e8d887cd7..c37572f50 100644 --- a/apparmor.d/groups/apps/discord +++ b/apparmor.d/groups/apps/discord @@ -33,6 +33,11 @@ profile discord @{exec_path} { @{exec_path} mrix, @{sh_path} rix, + /opt/discord/chrome-sandbox rix, + /opt/discord/chrome_crashpad_handler rix, + /usr/share/discord/chrome-sandbox rix, + /usr/share/discord/chrome_chrashpad_handler rix, + @{open_path} rPx -> child-open-browsers, /var/lib/dbus/machine-id r, @@ -48,7 +53,7 @@ profile discord @{exec_path} { @{PROC}/@{pid}/ r, - owner /dev/pts/0 rw, + owner /dev/pts/@{int} rw, include if exists }