diff --git a/apparmor.d/abstractions/app/bus b/apparmor.d/abstractions/app/bus index 2ead91cc..4fa0c2c8 100644 --- a/apparmor.d/abstractions/app/bus +++ b/apparmor.d/abstractions/app/bus @@ -6,6 +6,7 @@ abi , + include include @{bin}/dbus-launch mix, diff --git a/apparmor.d/groups/freedesktop/xdg-desktop-portal b/apparmor.d/groups/freedesktop/xdg-desktop-portal index eb450ee4..53218d82 100644 --- a/apparmor.d/groups/freedesktop/xdg-desktop-portal +++ b/apparmor.d/groups/freedesktop/xdg-desktop-portal @@ -71,7 +71,10 @@ profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) { /etc/sysconfig/proxy r, - @{GDM_HOME}/greeter-dconf-defaults r, + @{GDM_HOME}/greeter-dconf-defaults r, + owner @{gdm_config_dirs}/dconf/user r, + owner @{gdm_config_dirs}/user-dirs.dirs r, + @{user_config_dirs}/kioslaverc r, owner @{user_config_dirs}/xdg-desktop-portal/* r, diff --git a/apparmor.d/groups/freedesktop/xdg-open b/apparmor.d/groups/freedesktop/xdg-open index 946b9aa5..7893800d 100644 --- a/apparmor.d/groups/freedesktop/xdg-open +++ b/apparmor.d/groups/freedesktop/xdg-open @@ -43,7 +43,6 @@ profile xdg-open @{exec_path} flags=(attach_disconnected) { include include include - include include if exists } diff --git a/apparmor.d/groups/freedesktop/xdg-settings b/apparmor.d/groups/freedesktop/xdg-settings index 20246f65..870d4cfe 100644 --- a/apparmor.d/groups/freedesktop/xdg-settings +++ b/apparmor.d/groups/freedesktop/xdg-settings @@ -57,7 +57,6 @@ profile xdg-settings @{exec_path} { include include include - include include if exists }