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,