-
-
Save bogdanRada/4f5f98f7a3bf607bc68ddc7f791ab2e9 to your computer and use it in GitHub Desktop.
patch /etc/ImageMagick/policy.xml to allow read and write PDF file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sed -e 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="read|write" pattern="PDF" \/>\n\ \ <policy domain="coder" rights="read|write" pattern="LABEL" \/>/' -i /etc/ImageMagick/policy.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment