diff --git a/apparmor.d/abstractions/fontconfig-cache-write b/apparmor.d/abstractions/fontconfig-cache-write index b539ddad..db2be5ac 100644 --- a/apparmor.d/abstractions/fontconfig-cache-write +++ b/apparmor.d/abstractions/fontconfig-cache-write @@ -1,5 +1,6 @@ # apparmor.d - Full set of apparmor profiles # Copyright (C) 2018-2021 Mikhail Morfikov +# Copyright (C) 2022 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , @@ -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,