From 11e05037c358b10cf5177489ec54e468752f2e9d Mon Sep 17 00:00:00 2001 From: REmerald <55359236+REmerald@users.noreply.github.com> Date: Thu, 6 Jun 2024 07:05:30 +0000 Subject: [PATCH] fix(xdg-document-portal): add `/etc/nsswitch.conf`, `/etc/passwd` --- apparmor.d/groups/freedesktop/xdg-document-portal | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apparmor.d/groups/freedesktop/xdg-document-portal b/apparmor.d/groups/freedesktop/xdg-document-portal index 2715d971..9a2e0a43 100644 --- a/apparmor.d/groups/freedesktop/xdg-document-portal +++ b/apparmor.d/groups/freedesktop/xdg-document-portal @@ -35,6 +35,9 @@ profile xdg-document-portal @{exec_path} flags=(attach_disconnected) { @{exec_path} mr, + /etc/nsswitch.conf r, + /etc/passwd r, + @{bin}/flatpak rPUx, @{bin}/fusermount{,3} rCx -> fusermount,