Update discord profile (#332)

---------

Co-authored-by: Alex <roddhjav@users.noreply.github.com>
This commit is contained in:
fira959 2024-05-16 12:33:24 +02:00 committed by GitHub
parent 41b814675b
commit f86b305a66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -29,6 +29,9 @@ profile discord @{exec_path} {
@{exec_path} mrix,
@{sh_path} rix,
@{lib_dirs}/chrome-sandbox rix,
@{lib_dirs}/chrome_crashpad_handler rix,
@{open_path} rPx -> child-open-browsers,
/var/lib/dbus/machine-id r,
@ -38,6 +41,8 @@ profile discord @{exec_path} {
owner @{tmp}/discord.sock rw,
owner "@{tmp}/Discord Crashes/" rw,
owner @{config_dirs}/discord/*/modules/** rm,
owner @{run}/user/@{uid}/discord-ipc-@{int} rw,
include if exists <local/discord>

View File

@ -16,8 +16,8 @@ include <tunables/global>
profile discord-chrome-sandbox @{exec_path} {
include <abstractions/base>
capability setgid,
capability setuid,
#capability setgid,
#capability setuid,
capability sys_admin,
capability sys_chroot,
capability sys_resource,