Building Documents in Debian 10
08 Apr 2021 13:39 #205322
by BigJohnT
Building Documents in Debian 10 was created by BigJohnT
Building documents in Debian 10 has been blocked by ImageMagick due to a security vulnerability that has been addressed in Ghostscript 9.24. However if you check the version of gs in Debian 10 it's past 9.2.4.
Seems that ImageMagick failed to correct the blocking policy. To fix that open up /etc/ImageMagick-6/policy.xml as sudo
Either comment out the offending lines or delete them. I chose to comment them out.
The documents will now build as usual.
JT
john@d10cave:~$ gs --version
9.27
Seems that ImageMagick failed to correct the blocking policy. To fix that open up /etc/ImageMagick-6/policy.xml as sudo
sudo pluma /etc/ImageMagick-6/policy.xml
Either comment out the offending lines or delete them. I chose to comment them out.
<!-- disable ghostscript format types -->
<!-- <policy domain="coder" rights="none" pattern="PS" /> -->
<!-- <policy domain="coder" rights="none" pattern="PS2" /> -->
<!-- <policy domain="coder" rights="none" pattern="PS3" /> -->
<!-- <policy domain="coder" rights="none" pattern="EPS" /> -->
<!-- <policy domain="coder" rights="none" pattern="PDF" /> -->
<!-- <policy domain="coder" rights="none" pattern="XPS" /> -->
The documents will now build as usual.
JT
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Moderators: HansU
Time to create page: 0.090 seconds