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,