Add gnome-disks

This commit is contained in:
Alexandre Pujol 2021-08-14 13:00:36 +01:00
parent fae9d697f6
commit fb63699153
Failed to generate hash of commit

View file

@ -0,0 +1,28 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/gnome-disks
profile gnome-disks @{exec_path} {
include <abstractions/base>
include <abstractions/gnome>
include <abstractions/gtk>
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/X11/xkb/{,**} r,
include <abstractions/dconf>
owner @{run}/user/@{uid}/dconf/ rw,
owner @{run}/user/@{uid}/dconf/user rw,
@{PROC}/1/cgroup r,
owner @{PROC}/@{pid}/cgroup r,
include if exists <local/gnome-disks>
}