Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Magento自定义包未设置文件权限权限_Magento_Magento 1.9 - Fatal编程技术网

Magento自定义包未设置文件权限权限

Magento自定义包未设置文件权限权限,magento,magento-1.9,Magento,Magento 1.9,我为Magento定制了一个软件包,我使用的是1.9.1.0。我是从管理软件包经理那里做的。我从“Magento Connect Manager”安装了该软件包,它安装时没有错误;唯一的问题是,包中我的PHP文件是以“666”权限而不是“644”权限安装的,因此它不会由PHP处理器运行,因为权限错误。你知道怎么解决这个问题吗 用于生成包的文件具有正确的权限“644”。就我所知,我的package.xml文件的语法是正确的: <?xml version="1.0"?> <pack

我为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>

Magento_Iframe_Finder
1.4.7.3
稳定的
OSL-3.0
社区
Magento iframe finder。
Magento iframe finder。
易于安装和使用
约翰·道尔-convertedjohndoe@gmail.com
2015-12-19
08:04:22
4.7.16.8.9

你知道我可以在“package.xml”文件中添加一个“开关”来设置对我文件的正确文件权限吗?

因为没有人知道答案,所以我自己找到了。
默认的Magento文件权限是:777用于目录,666用于文件,在“Magento连接管理器”中,您可以将它们更改为755,最终更改为644,然后软件包将正确安装。

因为没有人知道答案,我自己找到了。 默认的Magento文件权限是:777用于目录,666用于文件,在“Magento连接管理器”中,您可以将其更改为755,最终更改为644,然后软件包将正确安装