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