mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
flatpak: don't give write access for flatpaks
This commit is contained in:
parent
5f9bb13237
commit
50574b9523
1 changed files with 2 additions and 2 deletions
|
|
@ -76,8 +76,8 @@ static void object_update(void *data)
|
|||
strcmp(str, "flatpak") != 0)
|
||||
return;
|
||||
|
||||
/* full access for now */
|
||||
permissions[0] = PW_PERMISSION_INIT(PW_ID_ANY, PW_PERM_RWX);
|
||||
/* limited access for now */
|
||||
permissions[0] = PW_PERMISSION_INIT(PW_ID_ANY, PW_PERM_R | PW_PERM_X);
|
||||
pw_client_update_permissions(client->obj->obj.proxy,
|
||||
1, permissions);
|
||||
client->active = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue