ID: 11046
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Analyzed
Old-Bug Type: *Directory/Filesystem functions
Bug Type: Documentation problem
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Your umask setting is most likely the cause.
Please try this instead:
<?php
$oldumask = umask(0);
mkdir('mydir', 0777);
umask($oldumask);
?>
Previous Comments:
---------------------------------------------------------------------------
[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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]