From e15ec051277e986a1b4312a8ce7dd3cda9f33e0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Radek=20Hu=C5=A1ek?= <husek@iuuk.mff.cuni.cz>
Date: Wed, 27 Sep 2017 13:05:46 +0200
Subject: [PATCH] README: note about AppArmor

---
 README.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/README.md b/README.md
index 5a822c0..9214818 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,13 @@ then modify `/etc/cups/cups-pdf.conf`:
 PostProcessing /path/to/cups-pdf-postprocess-your-wrapper.sh
 ```
 
+*NOTE:* Ubuntu requires modifying AppArmor settings to allow cups-pdf to execute
+this script by adding something like
+```
+  /path/to/cups-pdf-postprocess-your-wrapper.sh ux,
+```
+into cups-pdf profile.
+
 *WARNING:* The script does not delete printed files, so files printed through cups-pdf
 will stay where they were printed to (default path is `/var/spool/cups-pdf/${USER}`).
 It is up to you to delete them when needed. Easy way to do so might be to move
-- 
GitLab