From 51f2259c08a314dd55ec9b3fa96e0b79b49232fd Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 27 Jul 2018 06:28:22 +0000 Subject: [PATCH] freedesktop.org abstraction: refactor (factorize) for consistency. This change makes the @{home_local_share} rules similar to the @{usr_share} ones. --- profiles/apparmor.d/abstractions/freedesktop.org | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/profiles/apparmor.d/abstractions/freedesktop.org b/profiles/apparmor.d/abstractions/freedesktop.org index 6ae7f2fc6..bc7e83832 100644 --- a/profiles/apparmor.d/abstractions/freedesktop.org +++ b/profiles/apparmor.d/abstractions/freedesktop.org @@ -23,9 +23,6 @@ owner @{HOME}/.local/share/recently-used.xbel* rw, owner @{HOME}/.config/user-dirs.dirs r, owner @{HOME}/.config/mimeapps.list r, - owner @{home_local_share}/applications/ r, - owner @{home_local_share}/applications/** r, - owner @{home_local_share}/icons/ r, - owner @{home_local_share}/icons/** r, - owner @{home_local_share}/mime/ r, - owner @{home_local_share}/mime/** r, + owner @{home_local_share}/applications/{**,} r, + owner @{home_local_share}/icons/{**,} r, + owner @{home_local_share}/mime/{**,} r,