[PHP-DEV] Bug #11046 Updated: mkdir doesnt sets permissions
ID: 11046 Updated by: jimw Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 4.0.4pl1 Assigned To: New Comment: noted in documentation. 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=11046edit=1 -- 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]
[PHP-DEV] Bug #11046 Updated: mkdir doesnt sets permissions
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=11046edit=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]
[PHP-DEV] Bug #11046 Updated: mkdir doesnt sets permissions
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=11046edit=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]