ID: 11046
Updated by: danbeck
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Old-Bug Type: Documentation problem
Bug Type: Filesystem function related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
This is not a documentation problem.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-23 05:32:07] [EMAIL PROTECTED]
Your umask setting is most likely the cause.
Please try this instead:
<?php
$oldumask = umask(0);
mkdir('mydir', 0777);
umask($oldumask);
?>
---------------------------------------------------------------------------
[2001-05-23 05:19:07] [EMAIL PROTECTED]
mkdir("test",0777)
the directory is dwrx-rx-rx, not dwrxwrxwrx :)
why?
or it is my server with some rare php config?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11046&edit=2