Skip to content

Commit

Permalink
permission fix desc
Browse files Browse the repository at this point in the history
  • Loading branch information
Sir_Yaro committed Dec 31, 2021
1 parent 8426fbc commit f9fe8fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ cd /etc/ImageMagick-6 #check if that is correct directory
sudo xmlstarlet edit -L --update "/policymap/policy[@name='disk']/@value" --value "16GiB" policy.xml #allows to handle files up to 16GB
sudo xmlstarlet edit -L --subnode "/policymap" --type elem --name 'policy domain="coder" rights="read | write" pattern="PDF" ' policy.xml #allows read/write pdfs
```
if you still getting an error:<BR>
`convert-im6.q16: not authorized 'filename.pdf' @ error/constitute.c/WriteImage/1037.`<BR>
you can try disable IM limits all together with<BR>
`sudo mv /etc/ImageMagick-6/policy.xml /etc/ImageMagick-6/policy.xml.BAK`<BR>
<BR>
**Instalation**<BR>
```
git clone [email protected]:SirYaro/arrange_cards.git
Expand Down

0 comments on commit f9fe8fd

Please sign in to comment.