Re: mkdir() , making 'mode' parameter optional

From: Date: Fri, 11 Jan 2002 04:31:23 +0000
Subject: Re: mkdir() , making 'mode' parameter optional
References: 1 2 3 4 5  Groups: php.dev 
Request: Send a blank email to php-dev+get-76577@lists.php.net to get a copy of this message
On Fri, Jan 11, 2002 at 05:22:54AM +0100, Markus Fischer wrote : > > In any case - a hardcoded 0777 isn't logical, apart from being less safe. > > It makes totally sense because it only relies on the umask() > being set. Well, maybe I need to explain why 0777 _is_ logical (I thought people here know unix). It's the default value for the mkdir command, for perl, and for python because it makes sense to only rely on the umask() setting. So, why not have it too? Because PHP is none of the mentioned above ? Come on. I'm not discussing whether to add another INI switch (this is totally out of scope and belongs to something else, but not here). Anyone with decent objections? -- Please always Cc to me when replying to me on the lists.

« previous php.dev (#76577) next »