From 3ae521324173b21fa4e07348f71f0db67978751c Mon Sep 17 00:00:00 2001 From: Daniel Richard G Date: Wed, 8 Aug 2018 19:29:20 -0400 Subject: [PATCH] Updated abstractions to allow writing to some common config dirs (cherry picked from commit 7972c038d7aebfbe27e6eb7d754649d88b55fbb9) Signed-off-by: John Johansen --- profiles/apparmor.d/abstractions/fonts | 2 +- profiles/apparmor.d/abstractions/ubuntu-browsers.d/multimedia | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/apparmor.d/abstractions/fonts b/profiles/apparmor.d/abstractions/fonts index 222aa5a61..0be55964b 100644 --- a/profiles/apparmor.d/abstractions/fonts +++ b/profiles/apparmor.d/abstractions/fonts @@ -45,7 +45,7 @@ owner @{HOME}/.local/share/fonts/** r, owner @{HOME}/.fonts.cache-2 mr, owner @{HOME}/.{,cache/}fontconfig/ rw, - owner @{HOME}/.{,cache/}fontconfig/** mrl, + owner @{HOME}/.{,cache/}fontconfig/** mrwl, owner @{HOME}/.fonts.conf.d/ r, owner @{HOME}/.fonts.conf.d/** r, owner @{HOME}/.config/fontconfig/ r, diff --git a/profiles/apparmor.d/abstractions/ubuntu-browsers.d/multimedia b/profiles/apparmor.d/abstractions/ubuntu-browsers.d/multimedia index 7f797a131..591d6b854 100644 --- a/profiles/apparmor.d/abstractions/ubuntu-browsers.d/multimedia +++ b/profiles/apparmor.d/abstractions/ubuntu-browsers.d/multimedia @@ -18,6 +18,7 @@ #include owner @{HOME}/.adobe/ w, + owner @{HOME}/.adobe/** rw, owner @{HOME}/.macromedia/ w, owner @{HOME}/.macromedia/** rw, /opt/real/RealPlayer/mozilla/nphelix.so rm,