From bde3ca0d088944e335d7f02eefbda02b7a41a09d Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Wed, 5 Apr 2023 12:39:32 +0200 Subject: [PATCH] Update cupsd --- apparmor.d/profiles-a-f/cupsd | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apparmor.d/profiles-a-f/cupsd b/apparmor.d/profiles-a-f/cupsd index 2ccef484..83395ee3 100644 --- a/apparmor.d/profiles-a-f/cupsd +++ b/apparmor.d/profiles-a-f/cupsd @@ -47,11 +47,20 @@ profile cupsd @{exec_path} flags=(attach_disconnected) { @{exec_path} mr, /{usr/,}bin/{,ba,da}sh rix, + /{usr/,}bin/cat rix, + /{usr/,}bin/chmod rix, + /{usr/,}bin/cp rix, + /{usr/,}bin/grep rix, /{usr/,}bin/gsc rix, /{usr/,}bin/hostname rix, /{usr/,}bin/ippfind rix, + /{usr/,}bin/mktemp rix, + /{usr/,}bin/printenv rix, /{usr/,}bin/python3.[0-9]* rix, + /{usr/,}bin/rm rix, + /{usr/,}bin/sed rix, /{usr/,}bin/smbspool rPx, + /{usr/,}bin/touch rix, /{usr/,}bin/xz rix, /{usr/,}lib/cups/backend/* rPx, /{usr/,}lib/cups/cgi-bin/*.cgi rix, @@ -84,6 +93,8 @@ profile cupsd @{exec_path} flags=(attach_disconnected) { @{PROC}/@{pids}/fd r, owner @{PROC}/@{pid}/mounts r, + + owner /tmp/*_latest_print_info w, /dev/tty rw,