so basically I'm trying to streamline some website installs with a simple php script.
this is the gist of what I want. I guess I'm just wondering if this chmod is allowed and if that will not mess up any ownership permissons or anything. I'm linux noob
thanks!
this is the gist of what I want. I guess I'm just wondering if this chmod is allowed and if that will not mess up any ownership permissons or anything. I'm linux noob
PHP:
<?php
ob_start();
system('unzip Archive.zip');
system('chmod 777 -R folder/images/');
system('chmod 777 -R folder/files/');
system('chmod 777 -R admin/stuff/');
ob_end_clean();
echo "done.";
?>
thanks!