mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
Add gnome-photos-thumbnailer.
This commit is contained in:
parent
f9fde0b482
commit
3fd489a442
2 changed files with 30 additions and 0 deletions
29
apparmor.d/groups/gnome/gnome-photos-thumbnailer
Normal file
29
apparmor.d/groups/gnome/gnome-photos-thumbnailer
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}lib/gnome-photos-thumbnailer
|
||||||
|
profile gnome-photos-thumbnailer @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/user-download-strict>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/usr/share/mime/mime.cache r,
|
||||||
|
|
||||||
|
owner @{HOME}/@{XDG_PICTURES_DIR}/{,**} r,
|
||||||
|
owner @{MOUNTS}/*/@{XDG_PICTURES_DIR}/{,**} r,
|
||||||
|
|
||||||
|
owner @{user_cache_dirs}/babl/{,**} r,
|
||||||
|
owner @{user_cache_dirs}/gegl-*/{,**} r,
|
||||||
|
owner @{user_cache_dirs}/gnome-photos/thumbnails/{,**} rw,
|
||||||
|
owner @{user_share_dirs}/gegl-*/{,**} r,
|
||||||
|
|
||||||
|
owner /dev/shm/DzlCounters-[0-9]* rw,
|
||||||
|
|
||||||
|
include if exists <local/gnome-photos-thumbnailer>
|
||||||
|
}
|
|
@ -44,6 +44,7 @@ gnome-disk-image-mounter complain
|
||||||
gnome-disks complain
|
gnome-disks complain
|
||||||
gnome-keyring-daemon complain
|
gnome-keyring-daemon complain
|
||||||
gnome-music complain
|
gnome-music complain
|
||||||
|
gnome-photos-thumbnailer complain
|
||||||
gnome-shell attach_disconnected,complain
|
gnome-shell attach_disconnected,complain
|
||||||
gnome-shell-hotplug-sniffer complain
|
gnome-shell-hotplug-sniffer complain
|
||||||
gnome-system-monitor attach_disconnected,complain
|
gnome-system-monitor attach_disconnected,complain
|
||||||
|
|
Loading…
Reference in a new issue