View Single Post
  #6  
Old 1st April 2007, 14:15
catalyst catalyst is offline
Member
 
Join Date: Mar 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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!
Reply With Quote