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 }