Re: mkdir() , making 'mode' parameter optional
| From: | Melvyn Sopacua | Date: | Thu, 10 Jan 2002 22:46:50 +0000 |
| Subject: | Re: mkdir() , making 'mode' parameter optional | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76546@lists.php.net to get a copy of this message | ||
Markus Fischer said at 22:41 10-1-2002:
Is there someone who would object modifying mkdir() so it
only needs the dirname to create and mode is optonal and
defaults to 0777 ?
defaults to php_value php_umask ?
Same for 'touch' and fopen("w")?
touch is now 600, so either align them or configurable.
Not $_ENV[umask], cause that's probably root's umask.
__________________________________________
$ uname -a
HumanBSD melvyn.sopacua.net 30.9-STABLE HumanBSD 30.9-STABLE #10: Mon 29 10:00:00 GMT 2000 melvyn@homecomp.sopacua.net:/usr/src/sys/compile/WEBMASTER hx86