Pipewire: use tunable vars.

This commit is contained in:
Alexandre Pujol 2021-05-26 20:34:41 +01:00
parent e085014238
commit 797701d0a0
Failed to generate hash of commit
2 changed files with 6 additions and 6 deletions

View file

@ -34,8 +34,8 @@ profile pipewire @{exec_path} {
/dev/shm/ r, /dev/shm/ r,
@{run}/shm/ r, @{run}/shm/ r,
/etc/pulse/{,**} r, /etc/pulse/{,**} r,
owner @{HOME}/.config/pulse/ rw, owner @{user_config_dirs}/pulse/ rw,
owner @{HOME}/.config/pulse/cookie rwk, owner @{user_config_dirs}/pulse/cookie rwk,
owner @{run}/user/@{uid}/pulse/ r, owner @{run}/user/@{uid}/pulse/ r,
@{sys}/devices/virtual/dmi/id/product_name r, @{sys}/devices/virtual/dmi/id/product_name r,

View file

@ -17,8 +17,8 @@ profile pipewire-media-session @{exec_path} {
/etc/pipewire/media-session.d/*.conf r, /etc/pipewire/media-session.d/*.conf r,
owner @{HOME}/.config/pipewire/ rw, owner @{user_config_dirs}/pipewire/ rw,
owner @{HOME}/.config/pipewire/** rw, owner @{user_config_dirs}/pipewire/** rw,
/dev/snd/controlC[0-9]* rw, /dev/snd/controlC[0-9]* rw,
/dev/snd/pcmC[0-9]*D[0-9]*p rw, /dev/snd/pcmC[0-9]*D[0-9]*p rw,
@ -31,8 +31,8 @@ profile pipewire-media-session @{exec_path} {
/dev/shm/ r, /dev/shm/ r,
@{run}/shm/ r, @{run}/shm/ r,
/etc/pulse/{,**} r, /etc/pulse/{,**} r,
owner @{HOME}/.config/pulse/ rw, owner @{user_config_dirs}/pulse/ rw,
owner @{HOME}/.config/pulse/cookie rwk, owner @{user_config_dirs}/pulse/cookie rwk,
owner @{run}/user/@{uid}/pulse/ rw, owner @{run}/user/@{uid}/pulse/ rw,
@{sys}/bus/ r, @{sys}/bus/ r,