I was working on scanning documents, creating pdfs, etc. I used the following imagemagick command
===> identify somefile.pdf
and got the error
identify: attempt to perform an operation not allowed by the security policy ‘gs’…
After some research, I commented the last line in /etc/ImageMagick-7/policy.xml. The archwiki has a huge box at the top of the imagemagick page regarding this issue.
<!-- <policy domain=“delegate” rights=“non” pattern=“gs” /> –>
As far as I can tell, there was a security issue(s) with ghostscript and it was addressed, or was it . Anyone else run into this? Thoughts?
- https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion
- ImageMagick - ArchWiki
- FS#60580 : imagemagick 7.0.8.14-1 does not work with PDF's (2018)
===> identify --version
===> gs --version
ImageMagick 7.0.11-9 Q16 x86_64 2021-04-24
ghostscript 9.54.0