note 127657 added to function.mkdir

From: Date: Tue, 20 Sep 2022 20:06:24 +0000
Subject: note 127657 added to function.mkdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-219603@lists.php.net to get a copy of this message
Why is it necessary to run the chmod after anyway? I recently noticed the mode doesn't seem to be doing anything in some of my code when running mkdir. What's the point of having that parameter if you set it to 0777 and it creates it with 0755 based on the global umask?? ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.173 (proxied: 173.13.3.241) ---- Manual Page -- https://php.net/manual/en/function.mkdir.php Edit -- https://main.php.net/note/edit/127657 Del: integrated -- https://main.php.net/note/delete/127657/integrated Del: useless -- https://main.php.net/note/delete/127657/useless Del: bad code -- https://main.php.net/note/delete/127657/bad+code Del: spam -- https://main.php.net/note/delete/127657/spam Del: non-english -- https://main.php.net/note/delete/127657/non-english Del: in docs -- https://main.php.net/note/delete/127657/in+docs Del: other reasons-- https://main.php.net/note/delete/127657 Reject -- https://main.php.net/note/reject/127657 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219603) next »