From af278ca6912027635623c241edc21aacf23e24d6 Mon Sep 17 00:00:00 2001 From: Vincas Dargis Date: Tue, 30 Jul 2019 15:04:18 +0300 Subject: [PATCH] exo-open: Fix denials on OpenSUSE exo-open fails on OpenSUSE due to different/missing paths. Update abstraction to fix denials on OpenSUSE. --- profiles/apparmor.d/abstractions/exo-open | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/profiles/apparmor.d/abstractions/exo-open b/profiles/apparmor.d/abstractions/exo-open index 0630ef17a..4e084ec42 100644 --- a/profiles/apparmor.d/abstractions/exo-open +++ b/profiles/apparmor.d/abstractions/exo-open @@ -39,7 +39,7 @@ # Main executables /usr/bin/exo-open rix, - /usr/lib/@{multiarch}/xfce4/exo-[0-9]/exo-helper-[0-9] ix, + /usr/lib{32,64,/@{multiarch}}/xfce4/exo-[0-9]/exo-helper-[0-9] ix, # Other executables @@ -89,8 +89,9 @@ /etc/xdg/{,xdg-*/}xfce4/helpers.rc r, /etc/xfce4/defaults.list r, # TODO: move into xfce4 abstraction? + /usr/share/sounds/freedesktop/** r, # for message box alert sound /usr/share/xfce4/helpers/*.desktop r, - /usr/share/{xfce4,xubuntu}/applications/{,*.list} r, + /usr/share/{xfce{,4},xubuntu}/applications/{,*.list} r, # User files