From be82c4cde8cae05c9bc09e574958988a5501de82 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 7 Oct 2021 14:55:40 +0100 Subject: [PATCH] Add xdg-document-portal. --- apparmor.d/profiles-s-z/xdg-document-portal | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 apparmor.d/profiles-s-z/xdg-document-portal diff --git a/apparmor.d/profiles-s-z/xdg-document-portal b/apparmor.d/profiles-s-z/xdg-document-portal new file mode 100644 index 00000000..538befb5 --- /dev/null +++ b/apparmor.d/profiles-s-z/xdg-document-portal @@ -0,0 +1,22 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}lib/xdg-document-portal +profile xdg-document-portal @{exec_path} { + include + + @{exec_path} mr, + + /{usr/,}bin/fusermount rPx, + + owner @{run}/user/@{uid}/doc/ rw, + + /dev/fuse rw, + + include if exists +} \ No newline at end of file