MiniMagick permissions error in production

Adding the following after the install of ${DEPLOY_PACKAGES} will disable the security policy:

RUN sed -i '/PDF/d' /etc/ImageMagick-6/policy.xml

Whether that will expose your application to security issues will depend entirely on your usage; and is well beyond my area of expertise.

1 Like