Last active
August 27, 2020 09:26
-
-
Save donnykurnia/47e120abbae3d35ab7e938aab02b5fcc to your computer and use it in GitHub Desktop.
patch /etc/ImageMagick/policy.xml to allow read and write PDF file
This file contains hidden or 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