chmod problem with mkdir()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello List,

i have a problem with simple script that uses mkdir();

mkdir("/path/path/folder", 0777);

The highest chmod i get in created folder is 755, the 777 is ignored, but less chmod like 705 accepted. What could be wrong? Of course i can use chmod() after mkdir() but i think function should do what it is promising...
script is running with php-cli 5.2.6
Thank you
Andre


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux