Yes! I just ignore the '0' here. But inside the scripts, it use 0755.
I have tried install a fresh Ubuntu again. I just put the a test script inside it,
which is as the following (test.php)
<?php
chmod("test1.php", 0755);
mkdir("test", 0755);
?>
I find that the first command is working properly which can change the permission of test1.php to 0755.
But the second one can only created a folder with 0700 only.
I have checked the suphp.ini and php.ini and can't find any hits to change permission.
Any idea where can I fix it?
Thank you!
|