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?
- ImageMagick security policy 'PDF' blocking conversion - Stack Overflow
- ImageMagick - ArchWiki
- FS#60580 : imagemagick 18.104.22.168-1 does not work with PDF's (2018)
===> identify --version ===> gs --version
ImageMagick 7.0.11-9 Q16 x86_64 2021-04-24