Custom Location of cups-pdf denied by apparmor

Written by James McDonald

April 25, 2022

Apr 25 09:31:23 tgn-vm-wms01 kernel: audit: type=1400 audit(1650879083.060:80): apparmor="DENIED" operation="mknod" profile="/usr/lib/cups/backend/cups-pdf" name="/var/www/tgn/webroot/files/PDF/Test_Page-job_12.pdf" pid=80336 comm="gs" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000

If you run aa-complain it will stop apparmor from denying the write. However this is only a temporary solution as the aa policy needs to be updated to allow the custom location

sudo aa-complain /usr/lib/cups/backend/cups-pdf
Setting /usr/lib/cups/backend/cups-pdf to complain mode.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Robocopy exclude Directories

Just trying to copy everything except a couple of directories from a drive to my NAS This is the secret incantation of...