【发布时间】:2015-12-30 22:39:44
【问题描述】:
我为 Magento 制作了一个自定义包,我使用的是 1.9.1.0。我是从管理员包管理器中完成的。我从“Magento Connect Manager”安装了软件包,它安装没有错误;唯一的问题是我在包中的 PHP 文件是用“666”权限而不是“644”安装的,所以它不会被 PHP 处理器运行,因为权限错误。知道如何解决这个问题吗?
用于制作包的文件具有正确的权限“644”。据我所知,我的 package.xml 文件的语法是正确的:
<?xml version="1.0"?>
<package>
<name>Magento_Iframe_Finder</name>
<version>1.4.7.3</version>
<stability>stable</stability>
<license uri="http://www.opensource.org/licenses/OSL-3.0">OSL-3.0</license>
<channel>community</channel>
<extends/>
<summary>Magento iframe finder.</summary>
<description>Magento iframe finder.</description>
<notes>Easy to install and use</notes>
<authors><author><name>John Doe</name><user>auto-converted</user><email>johndoe@gmail.com</email></author></authors>
<date>2015-12-19</date>
<time>08:04:22</time>
<contents><target name="mageweb"><dir name="errors"><file name="iframefinder.php" hash="54abb08163b654dd08635b40220c02e2"/></dir></target></contents>
<compatible/>
<dependencies><required><php><min>4.7.1</min><max>6.8.9</max></php></required></dependencies>
</package>
知道是否有一个“开关”可以添加到我的“package.xml”文件中,以便为我的文件设置正确的文件权限?
【问题讨论】:
标签: magento magento-1.9