fix(profile): fontconfig-cache-write needs /var/cache/fontconfig/ access.

This commit is contained in:
Alexandre Pujol 2022-10-01 19:11:19 +01:00
parent f45c07dfa1
commit 8a55eb8330
Failed to generate hash of commit

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2018-2021 Mikhail Morfikov
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -26,7 +27,8 @@
/usr/share/**/.uuid{,.NEW,.LCK,.TMP-*} r,
deny /usr/share/**/.uuid{,.NEW,.LCK,.TMP-*} w,
owner /var/cache/fontconfig/{,**} rw,
/var/cache/fontconfig/ rw,
owner /var/cache/fontconfig/** rw,
owner /var/cache/fontconfig/*.cache-[0-9]* rwk,
owner /var/cache/fontconfig/*.cache-[0-9]*.LCK rwl,
owner /var/cache/fontconfig/CACHEDIR.TAG.LCK rwl,