Setting permissions in ZipArchive
If you have the necessary security privileges, you could do something along the lines of
<?php exec("chmod -R 755 /directory/new_dir");
If you have the necessary security privileges, you could do something along the lines of
<?php exec("chmod -R 755 /directory/new_dir");