<div dir="ltr">Thanks for the heads up. Will revert back on this next week.</div><div class="gmail_extra"><br clear="all"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>


<br><br><div class="gmail_quote">On Fri, Aug 1, 2014 at 1:45 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On 31/07/14 12:41, Prasad wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Alan,<br>
<br>
I agree - will dive into this any pointer if you have identified would<br>
be helpful to fix it.<br>
</blockquote>
<br></div>
vtlib/Vtiger/LayoutImport.php line 94<br>
vtlib/Vtiger/LanguageImport.<u></u>php line 130<br>
vtlib/Vtiger/ThemeImport.php line 90<br>
vtlib/Vtiger/Unzip.php line 45<br>
<br>
Firstly I would question why there needs to be 4 separate functions for extracting a zip file that are basically copies of each other and do the exact same thing.<br>
<br>
Secondly, on every Linux distribution I am familiar with there is something called the umask[1] which provides the default permissions for all new files & directories so I doubt you will need to set chmod anyway... Unless it is because the zip archive format does not retain permission information. If that's the case then as i said before, all files should be 644 (rw-r--r--) and directories 755 (rwxr-x-r-x)<br>


<br>
Thirdly - grep the vtiger source tree for "chmod" :-)<br>
<br>
Obviously this is all moot for Windows systems but then who uses that old OS any more anyway?<br>
<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
[1] <a href="http://en.wikipedia.org/wiki/Umask" target="_blank">http://en.wikipedia.org/wiki/<u></u>Umask</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>