From 9fec58db35bab5643c1fa3d19c60e55faf00ea4f Mon Sep 17 00:00:00 2001 From: Jose Maldonado <63384398+yukiteruamano@users.noreply.github.com> Date: Mon, 11 Sep 2023 12:51:01 -0400 Subject: [PATCH] Fix access to /tmp folders for Firefox ESR in Debian (#215) Firefox ESR in Debian Stable require access to additional folders in /tmp when use a configuration with multiple profiles. --- apparmor.d/groups/browsers/firefox | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apparmor.d/groups/browsers/firefox b/apparmor.d/groups/browsers/firefox index 870a8695..4e352790 100644 --- a/apparmor.d/groups/browsers/firefox +++ b/apparmor.d/groups/browsers/firefox @@ -222,6 +222,10 @@ profile firefox @{exec_path} flags=(attach_disconnected) { /var/tmp/ r, owner /tmp/user/@{uid}/ rw, owner /tmp/user/@{uid}/* rwk, + owner /tmp/user/@{uid}/Temp-*/ rw, + owner /tmp/user/@{uid}/Temp-*/* rwk, + owner /tmp/user/@{uid}/@{firefox_name}/ rw, + owner /tmp/user/@{uid}/@{firefox_name}/* rwk, owner /tmp/@{firefox_name}/ rw, owner /tmp/@{firefox_name}/* rwk, owner /tmp/* rw,