diff --git a/apparmor.d/groups/apps/discord b/apparmor.d/groups/apps/discord index aefd19774..f0719051b 100644 --- a/apparmor.d/groups/apps/discord +++ b/apparmor.d/groups/apps/discord @@ -32,10 +32,8 @@ 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, + @{lib_dirs}/chrome-sandbox rix, + @{lib_dirs}/chrome_crashpad_handler rix, @{open_path} rPx -> child-open-browsers,