mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 00:13:48 +01:00
28 lines
741 B
Plaintext
28 lines
741 B
Plaintext
# 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 @{user_pictures_dirs}/{,**} 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>
|
|
} |