cancel
Showing results for 
Search instead for 
Did you mean: 

Magento custom package not setting file permissions right

Magento custom package not setting file permissions right

I made a custom package for Magento, I'm on 1.9.1.0. Did it from Admin package manager. I install the package from "Magento Connect Manager", it installs without error, the only problem is that my PHP file in the package is installed with "666" permission instead "644" so won't be run by PHP processor because of fault permission. Any idea how to fix this? The file used to make the package had right permissions "644". My package.xml file is syntax correct as I can tell:

 

<?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>

 

 Any idea if there's a "switch" I can add to my "package.xml" file to set the right file permissions to my file? Any help much appreciated!

1 REPLY 1

Re: Magento custom package not setting file permissions right

Thanks for help! (sarcastic)