<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>convert命令报错没有权限 &#8211; moneyslow.com</title>
	<atom:link href="https://moneyslow.com/tag/convert%e5%91%bd%e4%bb%a4%e6%8a%a5%e9%94%99%e6%b2%a1%e6%9c%89%e6%9d%83%e9%99%90/feed" rel="self" type="application/rss+xml" />
	<link>https://moneyslow.com</link>
	<description>making money with technology</description>
	<lastBuildDate>Sun, 14 Dec 2025 11:04:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>ImageMagic的convert、mogrify命令报错没有权限convert-im6.q16: not authorized `xxx.pdf&#039; @ error/constitute.c/ReadImage/412.</title>
		<link>https://moneyslow.com/convert%e5%91%bd%e4%bb%a4%e6%8a%a5%e9%94%99%e6%b2%a1%e6%9c%89%e6%9d%83%e9%99%90convert-im6-q16-not-authorized-xxx-pdf-error-constitute-c-readimage-412.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sat, 11 Jul 2020 15:03:57 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[convert命令报错没有权限]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=11357</guid>

					<description><![CDATA[用ImageMagic convert命令将*.pdf文件转换为*.pdf文件。收到以下错误： convert-im6.q16: not authorized `xxx.pdf' @ error/constitute.c/ReadImage/412. 编辑文件/etc/ImageMagick-6/policy.xml policy domain="coder" rights="none" pattern="PDF"改为policy domain="coder" rights="read&#124;write" pattern="PDF" 同样道理，如果遇到以下报错： mogrify-im6.q16: attempt to perform an operation not allowed by the security policy `@t.txt' @ error/property.c/InterpretImageProperties/3706 也是编辑/etc/ImageMagick-6/policy.xml 这个神奇的文件： 例如这里是@t.txt 报错，对应的就是修改pattern="@*"这一行，把none改为read&#124;write 。 同样，如果其他例如pdf的报错，Xps的报错，把none改为“read&#124;write”就ok了。 另外，可能会存在多个xml配置文件的问题，怎么样把它全部改掉生效？如何确定使用的是哪个配置文件？ 第一种方案： 第二种方案：自动获取 policy.xml 文件的位置并对它们全部执行搜索/替换 参考：https://askubuntu.com/questions/1081895/trouble-with-batch-conversion-of-png-to-pdf-using-convert 完整可用的例子：]]></description>
		
		
		
			</item>
	</channel>
</rss>
