From a1407243dd4f8f17a4d23acaa4cac21e77d6eb90 Mon Sep 17 00:00:00 2001 From: EricLin0509 <143688917+EricLin0509@users.noreply.github.com> Date: Sat, 7 Sep 2024 04:35:16 +0800 Subject: [PATCH] Update profile for ufw (#467) * Update profile for ufw * A small fix --- apparmor.d/profiles-s-z/ufw | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apparmor.d/profiles-s-z/ufw b/apparmor.d/profiles-s-z/ufw index 55437c18..4340f12d 100644 --- a/apparmor.d/profiles-s-z/ufw +++ b/apparmor.d/profiles-s-z/ufw @@ -33,12 +33,12 @@ profile ufw @{exec_path} { /etc/default/ufw r, - @{run}/ufw.lock rwk, + owner @{run}/ufw.lock rwk, - /var/tmp/@{rand8} rw, - /var/tmp/tmp* rw, - /tmp/@{rand8} rw, - /tmp/tmp* rw, + owner /var/tmp/???????? rw, + owner /var/tmp/tmp???????? rw, + owner @{tmp}/???????? rw, + owner @{tmp}/tmp???????? rw, @{PROC}/@{pid}/stat r, @{PROC}/@{pid}/fd/ r,